bgfx/src/fs_clear2.sc
Branimir Karadžić f44c8e2b14 Happy New Year!
2018-01-01 11:16:06 -08:00

16 lines
333 B
Python

/*
* Copyright 2011-2018 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#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];
}