bgfx/src/fs_clear4.sc
Бранимир Караџић 4581f14cd4 Happy New Year!
2022-01-15 11:59:06 -08:00

18 lines
410 B
Python

/*
* Copyright 2011-2022 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
*/
#include "bgfx_shader.sh"
uniform vec4 bgfx_clear_color[8];
void main()
{
gl_FragData[0] = bgfx_clear_color[0];
gl_FragData[1] = bgfx_clear_color[1];
gl_FragData[2] = bgfx_clear_color[2];
gl_FragData[3] = bgfx_clear_color[3];
gl_FragData[4] = bgfx_clear_color[4];
}