Advertisement

Open Gl Problem...

Started by June 21, 2003 07:32 AM
10 comments, last by orcblood 21 years, 8 months ago
/me attacks the source tags
When I change part of the code to this:

if (!UnregisterClass("OpenGL", hInstance))	{		MessageBox(NULL, "The Window Handle could not be unregistered, a shutdown error has occured.", "OrcishRendering - ERROR", MB_OK|MB_ICONINFORMATION);		hInstance = NULL;	}} 


it causes 32 errors and 1 warning... Is this because my code might be screwed up or is it becuase I added the extra ''}''?

Thanks for the help so far guys - Im actually starting to understand OpenGL... /me yay!

orcblood

This topic is closed to new replies.

Advertisement