diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-11-28 03:09:13 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-11-28 17:35:34 +0300 |
commit | 8e1c63b3962e8e51fca23c19915c8dba675391e8 (patch) | |
tree | 7d6ed5690ce26e7aa5659abf372edb687df8f6c2 /source/blender/windowmanager | |
parent | e1b8a5dc6fc8a3f7a5100a9c66b95d07c39b1cb3 (diff) |
OpenGL: assume GL_TEXTURE_ENV_MODE GL_MODULATE is the default state.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_draw.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c index 6ad0405c56f..a03ddba67c3 100644 --- a/source/blender/windowmanager/intern/wm_draw.c +++ b/source/blender/windowmanager/intern/wm_draw.c @@ -486,8 +486,6 @@ static int wm_triple_gen_textures(wmWindow *win, wmDrawTriple *triple) glTexImage2D(triple->target, 0, GL_RGB8, triple->x[x], triple->y[y], 0, GL_RGB, GL_UNSIGNED_BYTE, NULL); glTexParameteri(triple->target, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glTexParameteri(triple->target, GL_TEXTURE_MAG_FILTER, GL_NEAREST); - /* The current color is ignored if the GL_REPLACE texture environment is used. */ - // glTexEnvi(triple->target, GL_TEXTURE_ENV_MODE, GL_REPLACE); glBindTexture(triple->target, 0); /* not sure if this works everywhere .. */ |