mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
ogl: support glsl120
This commit is contained in:
@ -598,9 +598,9 @@ const char *GeneratePixelShaderCode(DSTALPHA_MODE dstAlphaMode, API_TYPE ApiType
|
||||
|
||||
if (ApiType == API_OPENGL)
|
||||
{
|
||||
WRITE(p, "out float4 ocol0;\n");
|
||||
WRITE(p, "COLOROUT(ocol0)\n");
|
||||
if (dstAlphaMode == DSTALPHA_DUAL_SOURCE_BLEND)
|
||||
WRITE(p, "out float4 ocol1;\n");
|
||||
WRITE(p, "COLOROUT(ocol1)\n");
|
||||
|
||||
if (per_pixel_depth)
|
||||
WRITE(p, "#define depth gl_FragDepth\n");
|
||||
|
Reference in New Issue
Block a user