Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.8.2
-
None
-
8efe2390a35cd76abbe474650ee8af8df5a31a20
Description
running the "affine" demo on Fedora 17 64-bit in VMware Workstation 8.0.4
Graphics: "Gallium 0.4 on llvmpipe (LLVM 0x300)"
qgl.cpp line 5540:
GLboolean srgbCapableFramebuffers;
glGetBooleanv(FRAMEBUFFER_SRGB_CAPABLE_EXT, &srgbCapableFramebuffers);
if (srgbCapableFramebuffers)
glExtensions |= SRGBFrameBuffer;
the variable "srgbCapableFramebuffers" is not set, thus valgrind complains about uninitialized memory. The variable should be initialized to a default value in case it is not set by glGetBooleanv().