mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
Remove C99-style initializers from the polymer program bits.
git-svn-id: https://svn.eduke32.com/eduke32@1160 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a562568daf
commit
31c1db57d7
1 changed files with 27 additions and 27 deletions
|
@ -125,33 +125,33 @@ int lightcount;
|
|||
// PROGRAMS
|
||||
_prprogrambit prprogrambits[PR_BIT_COUNT] = {
|
||||
{
|
||||
.bit = 1 << PR_BIT_DIFFUSE_MODULATION,
|
||||
.vert_def =
|
||||
1 << PR_BIT_DIFFUSE_MODULATION,
|
||||
// vert_def
|
||||
"",
|
||||
.vert_prog =
|
||||
// vert_prog
|
||||
"gl_FrontColor = gl_Color;\n"
|
||||
"\n",
|
||||
.frag_def =
|
||||
// frag_def
|
||||
"",
|
||||
.frag_prog =
|
||||
// frag_prog
|
||||
" result *= vec4(gl_Color);\n"
|
||||
"\n",
|
||||
},
|
||||
{
|
||||
.bit = 1 << PR_BIT_DEFAULT,
|
||||
.vert_def =
|
||||
1 << PR_BIT_DEFAULT,
|
||||
// vert_def
|
||||
"\n"
|
||||
"void main(void)\n"
|
||||
"{\n",
|
||||
.vert_prog =
|
||||
// vert_prog
|
||||
" gl_Position = ftransform();\n"
|
||||
"}\n",
|
||||
.frag_def =
|
||||
// frag_def
|
||||
"void main(void)\n"
|
||||
"{\n"
|
||||
" vec4 result = vec4(1.0, 1.0, 1.0, 1.0);\n"
|
||||
"\n",
|
||||
.frag_prog =
|
||||
// frag_prog
|
||||
" gl_FragColor = result;\n"
|
||||
"}\n",
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue