Skip to content

Commit

Permalink
Added needed functions for manual context creation on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoisChabot committed Apr 13, 2012
1 parent 36a1c2e commit f765f82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions import/derelict/util/wintypes.d
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ version(Windows)

extern(Windows)
{
HDC GetDC(HWND);
int ChoosePixelFormat(HDC,PIXELFORMATDESCRIPTOR*);
void SetPixelFormat(HDC,int,PIXELFORMATDESCRIPTOR*);
int GetPixelFormat(HDC);
int DescribePixelFormat(HDC,int,UINT,PIXELFORMATDESCRIPTOR*);
BOOL SwapBuffers(HDC);
Expand Down

0 comments on commit f765f82

Please sign in to comment.