Mercurial > love-experiments
diff src/modules/graphics/Graphics.cpp @ 1200:448da0a19ddb
changed PixelEffect name to ShaderEffect, added lua-side support for vert/frag shader combinations with love.graphics.newShaderEffect, added tentative support for single-file vertex+fragment shaders
| author | Alexander Szpakowski <amaranth72@gmail.com> |
|---|---|
| date | Thu, 20 Dec 2012 21:51:31 -0400 |
| parents | 4296fccb2da4 |
| children | 9e6915ef96c8 |
line wrap: on
line diff
--- a/src/modules/graphics/Graphics.cpp Thu Dec 20 03:42:48 2012 -0400 +++ b/src/modules/graphics/Graphics.cpp Thu Dec 20 21:51:31 2012 -0400 @@ -157,7 +157,7 @@ { { "canvas", Graphics::SUPPORT_CANVAS }, { "hdrcanvas", Graphics::SUPPORT_HDR_CANVAS }, - { "pixeleffect", Graphics::SUPPORT_PIXELEFFECT }, + { "shadereffect", Graphics::SUPPORT_SHADEREFFECT }, { "npot", Graphics::SUPPORT_NPOT }, { "subtractive", Graphics::SUPPORT_SUBTRACTIVE }, };
