Smoke:
* Bugfix for non working 3dview Credits: Thanks to Wahooney, jesterKing and a big thanks to Matt/broken for hunting this down!
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user