mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
c5b9352c34
This reverts commit 03a8bc9875ef4e0e942ab6d8d0d9402c4e1830fe.
15 lines
348 B
C
15 lines
348 B
C
#include "shaders_common.h"
|
|
|
|
static const char *stock_fragment_modern_blend = GLSL(
|
|
uniform sampler2D Texture;
|
|
uniform vec4 bgcolor;
|
|
varying vec2 tex_coord;
|
|
varying vec4 color;
|
|
void main() {
|
|
if (bgcolor.a > 0.0)
|
|
gl_FragColor = bgcolor;
|
|
else
|
|
gl_FragColor = color * texture2D(Texture, tex_coord);
|
|
}
|
|
);
|