diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-12-06 23:41:21 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-12-08 20:58:52 +0300 |
commit | b25e4b310f87fc86942acd29fccf1474ea5120df (patch) | |
tree | 03b1b681faa42b99468f1ffa0d3da0f114ab8209 /source/blender/windowmanager/wm_draw.h | |
parent | af5784312a1bb8079d2e1edffdb6d8f607029f9e (diff) |
OpenGL: remove non-power-of-two texture check, where even ES 2.0 does not need it.
Diffstat (limited to 'source/blender/windowmanager/wm_draw.h')
-rw-r--r-- | source/blender/windowmanager/wm_draw.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source/blender/windowmanager/wm_draw.h b/source/blender/windowmanager/wm_draw.h index 5dc52b2e4fb..0f125309045 100644 --- a/source/blender/windowmanager/wm_draw.h +++ b/source/blender/windowmanager/wm_draw.h @@ -34,13 +34,9 @@ #include "GPU_glew.h" - -#define MAX_N_TEX 3 - typedef struct wmDrawTriple { - GLuint bind[MAX_N_TEX * MAX_N_TEX]; - int x[MAX_N_TEX], y[MAX_N_TEX]; - int nx, ny; + GLuint bind; + int x, y; GLenum target; } wmDrawTriple; |