mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Implicitly declare VaryingTexCoord and VaryingColor when void effect() is used.
--HG-- branch : minor
This commit is contained in:
@@ -263,6 +263,9 @@ void main() {
|
||||
}]],
|
||||
|
||||
MAIN_CUSTOM = [[
|
||||
varying vec4 VaryingColor;
|
||||
varying vec4 VaryingTexCoord;
|
||||
|
||||
void effect();
|
||||
|
||||
void main() {
|
||||
|
||||
Reference in New Issue
Block a user