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:
parent
8ea44694dc
commit
7485498ee7
23 changed files with 100 additions and 186 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue