What steps will reproduce the problem?
1. Open BlockRedux in Chapter13
2. Compile and run Block_Redux in Chapter 13
Expected: see the wireframe block on the floor
Got: just a white diagonal line bisecting the screen
What version of the product are you using? On what operating system?
oglsuperbible5 svn r176
Visual Studio C++ 2010 Express
Windows 7
I have a workaround for this issue: force the program to create a lower-level
rendering context, viz:
g_hRC = wglCreateContextAttribsARB(g_hDC, 0, attribs);
if (true || g_hRC == NULL)
{
printf("!!! Could not create an OpenGL 3.3 context.\n");
attribs[3] = 2;
g_hRC = wglCreateContextAttribsARB(g_hDC, 0, attribs);
if (true || g_hRC == NULL)
{
printf("!!! Could not create an OpenGL 3.2 context.\n");
attribs[3] = 1;
g_hRC = wglCreateContextAttribsARB(g_hDC, 0, attribs);
.....presumably the cause of this problem is that a higher opengl version is
being reported than the program can create a context for. I don't really
understand the implications, or whether it should means the driver is incorrect
or that the program should be changed, but perhaps this post may be of some
help to others.
Original issue reported on code.google.com by pjlby...@gmail.com on 17 Nov 2010 at 6:04
Original issue reported on code.google.com by
pjlby...@gmail.com
on 17 Nov 2010 at 6:04