1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-06 04:00:08 +00:00

Minor clean-ups.

This commit is contained in:
Julian Storer 2011-03-17 16:47:17 +00:00
parent 8ea44694dc
commit 7485498ee7
23 changed files with 100 additions and 186 deletions

View file

@ -89,8 +89,7 @@ public:
createNativeWindow();
// Use a default pixel format that should be supported everywhere
PIXELFORMATDESCRIPTOR pfd;
zerostruct (pfd);
PIXELFORMATDESCRIPTOR pfd = { 0 };
pfd.nSize = sizeof (pfd);
pfd.nVersion = 1;
pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER;
@ -167,8 +166,7 @@ public:
{
makeActive();
PIXELFORMATDESCRIPTOR pfd;
zerostruct (pfd);
PIXELFORMATDESCRIPTOR pfd = { 0 };
pfd.nSize = sizeof (pfd);
pfd.nVersion = 1;
pfd.dwFlags = PFD_SUPPORT_OPENGL | PFD_DRAW_TO_WINDOW | PFD_DOUBLEBUFFER;