diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-01-08 00:44:49 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-01-08 00:44:49 +0300 |
commit | 2643b57f9789801a0da2aca166454f5f0fa0ee7e (patch) | |
tree | 2db874a7c696763368cde867dc085fbfc3799964 /source/blender/gpu/intern/gpu_texture.c | |
parent | 0e695f671af016a3e4277d0b9d3bfe7ee3ada440 (diff) |
OpenGL: remove obsolete version check
This *should* be the last one in Blender creator. A few still live in
BGE.
Diffstat (limited to 'source/blender/gpu/intern/gpu_texture.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_texture.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c index 5877fc2989d..be39bee69e2 100644 --- a/source/blender/gpu/intern/gpu_texture.c +++ b/source/blender/gpu/intern/gpu_texture.c @@ -248,9 +248,6 @@ GPUTexture *GPU_texture_create_3D(int w, int h, int depth, int channels, const f GLenum type, format, internalformat; void *pixels = NULL; - if (!GLEW_VERSION_1_2) - return NULL; - GPUTexture *tex = MEM_callocN(sizeof(GPUTexture), "GPUTexture"); tex->w = w; tex->h = h; |