Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wglMakeCurrent(hdc,hglrc);
- vsyncOn = TRUE;
- SetSwapInterval(vsyncOn);
- glClearColor(0.0, 0.0, 0.0, 0.0);
- glEnable(GL_TEXTURE_2D);
- glEnable(GL_BLEND);
- glEnable(GL_CULL_FACE);
- glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
- glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
- glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST);
- glEnable(GL_LINE_SMOOTH);
- glEnable(GL_POLYGON_SMOOTH);
- wireframeOn = FALSE;
- SetWireframeMode(wireframeOn);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement