mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
add renderer to report md
This commit is contained in:
@@ -307,7 +307,7 @@ love.test.graphics.Shader = function(test)
|
||||
extern float overwrite;
|
||||
vec4 effect(vec4 color, Image tex, vec2 texture_coords, vec2 screen_coords) {
|
||||
vec4 texcol = Texel(tex, texture_coords);
|
||||
if (overwrite == 1) {
|
||||
if (overwrite == 1.0) {
|
||||
return col;
|
||||
} else {
|
||||
return texcol * color;
|
||||
|
||||
Reference in New Issue
Block a user