mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Shader uniforms keep their values after love.window.setMode (resolves issue #1174).
Also allow arrays of images/samplers in shaders, although driver support is iffy and you have to index into the array using a compile-time constant (which might exclude loop indexing). --HG-- branch : minor
This commit is contained in:
@@ -106,8 +106,8 @@ public:
|
||||
|
||||
enum FramebufferTarget
|
||||
{
|
||||
FRAMEBUFFER_READ = (1 << 1),
|
||||
FRAMEBUFFER_DRAW = (1 << 2),
|
||||
FRAMEBUFFER_READ = (1 << 0),
|
||||
FRAMEBUFFER_DRAW = (1 << 1),
|
||||
FRAMEBUFFER_ALL = (FRAMEBUFFER_READ | FRAMEBUFFER_DRAW),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user