- 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

View File

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

View File

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