mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed: FBufferedUniform1f didn'T work because it used an int as its buffered value.
This commit is contained in:
parent
ffcb6cb70a
commit
9d1dbf4eab
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ public:
|
||||||
|
|
||||||
class FBufferedUniform1f
|
class FBufferedUniform1f
|
||||||
{
|
{
|
||||||
int mBuffer;
|
float mBuffer;
|
||||||
int mIndex;
|
int mIndex;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue