|
@@ -456,7 +456,8 @@ void RasterizerCanvasGLES2::_canvas_item_render_commands(Item *p_item, Item *cur
|
|
|
glDisableVertexAttribArray(VS::ARRAY_COLOR);
|
|
|
glVertexAttrib4fv(VS::ARRAY_COLOR, r->modulate.components);
|
|
|
|
|
|
-#if 1
|
|
|
+//use a more compatible workaround, as this does not fail on nvidia
|
|
|
+#ifdef GLES_OVER_GL
|
|
|
//more compatible
|
|
|
state.canvas_shader.set_conditional(CanvasShaderGLES2::USE_TEXTURE_RECT, false);
|
|
|
|