aboutsummaryrefslogtreecommitdiff
path: root/core/sys
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2022-12-08 14:59:48 +0000
committerGitHub <noreply@github.com>2022-12-08 14:59:48 +0000
commit1c4e75e83f91eba3dc33125647c11e0c43391a99 (patch)
tree684788f79686a1c75da0c890d98ff43f28f90310 /core/sys
parent9cb9964c2de6589ac7f06e90f017d3fbbc1dfe69 (diff)
parent0d7c89e84a4f98aa35a9dbdba260cb99907aee8a (diff)
Merge pull request #2234 from ftphikari/master
sys/windows: add DescribePixelFormat
Diffstat (limited to 'core/sys')
-rw-r--r--core/sys/windows/gdi32.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sys/windows/gdi32.odin b/core/sys/windows/gdi32.odin
index 274cae35b..d83d2aa6c 100644
--- a/core/sys/windows/gdi32.odin
+++ b/core/sys/windows/gdi32.odin
@@ -62,6 +62,7 @@ foreign gdi32 {
SetPixelFormat :: proc(hdc: HDC, format: c_int, ppfd: ^PIXELFORMATDESCRIPTOR) -> BOOL ---
ChoosePixelFormat :: proc(hdc: HDC, ppfd: ^PIXELFORMATDESCRIPTOR) -> c_int ---
+ DescribePixelFormat :: proc(hdc: HDC, iPixelFormat: c_int, nBytes: UINT, ppfd: ^PIXELFORMATDESCRIPTOR) -> c_int ---
SwapBuffers :: proc(HDC) -> BOOL ---
SetDCBrushColor :: proc(hdc: HDC, color: COLORREF) -> COLORREF ---