summaryrefslogtreecommitdiff
path: root/progs/glsl
diff options
context:
space:
mode:
Diffstat (limited to 'progs/glsl')
-rw-r--r--progs/glsl/CH11-bumpmaptex.frag2
-rw-r--r--progs/glsl/bump.c1
-rw-r--r--progs/glsl/samplers.c1
3 files changed, 1 insertions, 3 deletions
diff --git a/progs/glsl/CH11-bumpmaptex.frag b/progs/glsl/CH11-bumpmaptex.frag
index b1f93b784d..b5dabb4c8a 100644
--- a/progs/glsl/CH11-bumpmaptex.frag
+++ b/progs/glsl/CH11-bumpmaptex.frag
@@ -17,7 +17,7 @@ uniform float BumpDensity; // = 16.0
uniform float BumpSize; // = 0.15
uniform float SpecularFactor; // = 0.5
-sampler2D Tex;
+uniform sampler2D Tex;
void main()
{
diff --git a/progs/glsl/bump.c b/progs/glsl/bump.c
index e31afab939..784596448c 100644
--- a/progs/glsl/bump.c
+++ b/progs/glsl/bump.c
@@ -51,7 +51,6 @@ static GLint win = 0;
static GLfloat xRot = 20.0f, yRot = 0.0f, zRot = 0.0f;
static GLint tangentAttrib;
-static GLint tangentAttribTex;
static GLuint Texture;
diff --git a/progs/glsl/samplers.c b/progs/glsl/samplers.c
index 87dad5d857..8f26a5e329 100644
--- a/progs/glsl/samplers.c
+++ b/progs/glsl/samplers.c
@@ -41,7 +41,6 @@
#include <string.h>
#include <GL/glew.h>
#include "GL/glut.h"
-#include "readtex.h"
#include "shaderutil.h"