mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 06:38:47 +00:00
sys/windows: added helper gl proc
This commit is contained in:
@@ -85,3 +85,8 @@ foreign Opengl32 {
|
|||||||
wglUseFontBitmaps :: proc(hdc: HDC, first, count, list_base: DWORD) -> BOOL ---
|
wglUseFontBitmaps :: proc(hdc: HDC, first, count, list_base: DWORD) -> BOOL ---
|
||||||
wglUseFontOutlines :: proc(hdc: HDC, first, count, list_base: DWORD, deviation, extrusion: f32, format: c.int, gmf: LPGLYPHMETRICSFLOAT) -> BOOL ---
|
wglUseFontOutlines :: proc(hdc: HDC, first, count, list_base: DWORD, deviation, extrusion: f32, format: c.int, gmf: LPGLYPHMETRICSFLOAT) -> BOOL ---
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Used by vendor:OpenGL
|
||||||
|
gl_set_proc_address :: proc(p: rawptr, name: cstring) {
|
||||||
|
(^rawptr)(p)^ = wglGetProcAddress(name)
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user