Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Genrich <daniel.genrich@gmx.net>2009-09-15 02:27:10 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2009-09-15 02:27:10 +0400
commit41ed712ea3937d8baf601131df4f2063e8997764 (patch)
tree5a3a5a25401af2c4d689e66d98e6bfa1c21932ec /source/blender/gpu
parent524a8e32b157a4a8e8eafcb47bed378838342a19 (diff)
Smoke:
* Bugfix for non working 3dview Credits: Thanks to Wahooney, jesterKing and a big thanks to Matt/broken for hunting this down!
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index d7b54e425fd..4a31df04627 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -348,7 +348,7 @@ GPUTexture *GPU_texture_create_3D(int w, int h, int depth, float *fpixels)
type = GL_FLOAT; // GL_UNSIGNED_BYTE
format = GL_RED;
- internalformat = GL_RED;
+ internalformat = GL_INTENSITY;
//if (fpixels)
// pixels = GPU_texture_convert_pixels(w*h*depth, fpixels);