- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. I find that following function doesn't work on Intel HD 4000:
double dMatColor[16];
glGetDoublev(GL_COLOR_MATRIX, dMatColor);
FYI. #define GL_COLOR_MATRIX 0x80B1
So I'm getting weird colors when I set color matrix back:
glMatrixMode(GL_COLOR);
glLoadMatrixd(dMatColor);
This code works fine on NVidia and AMD GPUs. Everything also works fine on Intel GPU if I initialize identity color matrix before glGetDoublev call. But I need to get original color matrix. I think this happens because glGetDoublev(GL_COLOR_MATRIX) was not implemented. Can you please check?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel HD 4000 doesn't support the GL_ARB_imaging extension. The behavior of glGetDoublev(GL_COLOR_MATRIX) is undefined. For checking capabilities of your graphics hardware, try GLView at http://www.realtech-vr.com/glview/extensions.html.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page