mirror of https://github.com/liamg/aminal.git
16 lines
316 B
Go
16 lines
316 B
Go
package glfw
|
|
|
|
//#define GLFW_EXPOSE_NATIVE_WIN32
|
|
//#define GLFW_EXPOSE_NATIVE_WGL
|
|
//#include <GLFW/glfw3.h>
|
|
//#include <GLFW/glfw3native.h>
|
|
import "C"
|
|
|
|
func (w *Window) GetWin32Window() C.HWND {
|
|
return C.glfwGetWin32Window(w.data)
|
|
}
|
|
|
|
func (w *Window) GetWGLContext() C.HGLRC {
|
|
return C.glfwGetWGLContext(w.data)
|
|
}
|