0
0
Fork 0
mirror of https://github.com/ZDoom/qzdoom-gpl.git synced 2025-02-28 22:11:08 +00:00

- fixed: FBufferedUniform1f didn'T work because it used an int as its buffered value.

This commit is contained in:
Christoph Oelckers 2014-06-29 14:08:44 +02:00
parent ffcb6cb70a
commit 9d1dbf4eab
2 changed files with 2 additions and 2 deletions
src/gl/shaders
wadsrc/static/shaders/glsl

View file

@ -80,7 +80,7 @@ public:
class FBufferedUniform1f
{
int mBuffer;
float mBuffer;
int mIndex;
public:

View file

@ -6,7 +6,7 @@ out vec2 glowdist;
void main()
{
vec4 worldcoord = /* ModelMatrix * */ mix(gl_Vertex, aVertex2, uInterpolationFactor);
vec4 worldcoord = mix(gl_Vertex, aVertex2, uInterpolationFactor);
vec4 eyeCoordPos = ViewMatrix * worldcoord;
gl_FrontColor = gl_Color;