bgfx/src/fs_clear3.sc
2015-01-02 14:43:11 -08:00

14 lines
338 B
Python

/*
* Copyright 2011-2015 Branimir Karadzic. All rights reserved.
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
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];
}