mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Vulkan: allow writing to gl_FragColor without framebuffer color attachment (#2452)
This commit is contained in:
@@ -7,8 +7,5 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
// Vulkan does not like shader writing to a target that is not attached
|
||||
#ifndef BGFX_SHADER_LANGUAGE_SPIRV
|
||||
gl_FragColor = vec4_splat(0.0);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user