mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Fixed per-vertex colors (e.g. spritebatch colors) improperly applying gamma correction when the default shader is used and gamma correction is requested but not supported on OpenGL ES.
This commit is contained in:
@@ -95,8 +95,8 @@ public:
|
||||
static Shader *defaultVideoShader;
|
||||
|
||||
// Default shader code (a shader is always required internally.)
|
||||
static ShaderSource defaultCode[Graphics::RENDERER_MAX_ENUM];
|
||||
static ShaderSource defaultVideoCode[Graphics::RENDERER_MAX_ENUM];
|
||||
static ShaderSource defaultCode[Graphics::RENDERER_MAX_ENUM][2];
|
||||
static ShaderSource defaultVideoCode[Graphics::RENDERER_MAX_ENUM][2];
|
||||
|
||||
/**
|
||||
* Creates a new Shader using a list of source codes.
|
||||
|
||||
Reference in New Issue
Block a user