mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21: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
|
||||
{
|
||||
int mBuffer;
|
||||
float mBuffer;
|
||||
int mIndex;
|
||||
|
||||
public:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue