PixelEffect:getWarnings

Available since LÖVE 0.8.0
This function is not supported in earlier versions.


Returns any warning text given by OpenGL after compiling pixel shader code. This is useful for debugging potential problems in GLSL code.

Function

Synopsis

warnings = PixelEffect:getWarnings( )

Arguments

None.

Returns

string warnings
The warning text returned by OpenGL.

See Also

Other Languages