[Bf-blender-cvs] [2643b57] master: OpenGL: remove obsolete version check

Mike Erwin noreply at git.blender.org
Thu Jan 7 23:41:06 CET 2016


Commit: 2643b57f9789801a0da2aca166454f5f0fa0ee7e
Author: Mike Erwin
Date:   Thu Jan 7 16:44:49 2016 -0500
Branches: master
https://developer.blender.org/rB2643b57f9789801a0da2aca166454f5f0fa0ee7e

OpenGL: remove obsolete version check

This *should* be the last one in Blender creator. A few still live in
BGE.

===================================================================

M	source/blender/gpu/intern/gpu_texture.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c
index 5877fc2..be39bee 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;




More information about the Bf-blender-cvs mailing list