mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Check if gl_Frag[Data/Color] are not already patched (#2661)
This commit is contained in:
committed by
GitHub
parent
5b321e6669
commit
08cd17e3b8
@@ -1728,8 +1728,8 @@ namespace bgfx
|
||||
}
|
||||
if (hasFragColor)
|
||||
{
|
||||
preprocessor.writef("#define gl_FragColor bgfx_FragData0\n");
|
||||
preprocessor.writef("out mediump vec4 bgfx_FragData0;\n");
|
||||
preprocessor.writef("#define gl_FragColor bgfx_FragColor\n");
|
||||
preprocessor.writef("out mediump vec4 bgfx_FragColor;\n");
|
||||
}
|
||||
else if (numFragData)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user