protot/3rdparty/bgfx/src/fs_clear2.sc

14 lines
306 B
Python
Raw Normal View History

2016-08-29 22:31:11 +02:00
/*
* Copyright 2011-2016 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-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];
}