diff options
author | Brian Paul <[email protected]> | 2009-11-17 16:14:09 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-11-17 16:16:30 -0700 |
commit | b08f44754762c50456c2cb9d2106e1b6db43ff01 (patch) | |
tree | f37575bc2997b86da010a7dc23c0d45b0c6b797e /progs/glsl | |
parent | 1888a7276538a3adfe268e235e56b9931d608243 (diff) |
progs/glsl: change //-style comments
Diffstat (limited to 'progs/glsl')
-rw-r--r-- | progs/glsl/shtest.c | 2 | ||||
-rw-r--r-- | progs/glsl/texaaline.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/progs/glsl/shtest.c b/progs/glsl/shtest.c index 628a7dd5b98..9d76e018e37 100644 --- a/progs/glsl/shtest.c +++ b/progs/glsl/shtest.c @@ -627,7 +627,7 @@ Init(void) NumAttribs = GetAttribs(Program, Attribs); PrintAttribs(Attribs); - //assert(glGetError() == 0); + /*assert(glGetError() == 0);*/ glClearColor(0.4f, 0.4f, 0.8f, 0.0f); diff --git a/progs/glsl/texaaline.c b/progs/glsl/texaaline.c index 2e4f932ad60..4ad5a761c67 100644 --- a/progs/glsl/texaaline.c +++ b/progs/glsl/texaaline.c @@ -310,8 +310,10 @@ MakeMipmap(void) glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); - //glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LOD, 4); - ////glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 5); + /* + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LOD, 4); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 5); + */ glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); #undef SZ |