Make types distinct

This commit is contained in:
gingerBill
2024-02-28 18:25:29 +00:00
parent f4c74a9f32
commit e423a6d692
+6 -6
View File
@@ -1,12 +1,12 @@
//+build linux //+build linux
package egl package egl
NativeDisplayType :: rawptr NativeDisplayType :: distinct rawptr
NativeWindowType :: rawptr NativeWindowType :: distinct rawptr
Display :: rawptr Display :: distinct rawptr
Surface :: rawptr Surface :: distinct rawptr
Config :: rawptr Config :: distinct rawptr
Context :: rawptr Context :: distinct rawptr
NO_DISPLAY :: Display(uintptr(0)) NO_DISPLAY :: Display(uintptr(0))
NO_CONTEXT :: Context(uintptr(0)) NO_CONTEXT :: Context(uintptr(0))