glfw: more fn definitions
parent
507f4ce87a
commit
07ea1eff81
|
@ -48,6 +48,8 @@ fn C.gladLoadGL()
|
|||
fn C.glTexImage2D()
|
||||
fn C.glPixelStorei()
|
||||
fn C.glBlendFunc()
|
||||
fn C.glPolygonMode()
|
||||
fn C.glDeleteBuffers()
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ fn C.glfwSetClipboardString()
|
|||
fn C.glfwGetWindowContentScale()
|
||||
fn C.glfwGetClipboardString()
|
||||
fn C.glfwGetKey()
|
||||
fn C.glfwGetTime()
|
||||
fn C.glfwGetTime() f64
|
||||
fn C.glfwSetCharModsCallback()
|
||||
fn C.glfwSetKeyCallback()
|
||||
fn C.glfwPostEmptyEvent()
|
||||
|
@ -69,6 +69,19 @@ fn C.glfwSetWindowSizeCallback()
|
|||
fn C.glfwSetMouseButtonCallback()
|
||||
fn C.glfwSetCursorPosCallback()
|
||||
fn C.glfwSwapBuffers()
|
||||
fn C.glfwWindowShouldClose()
|
||||
fn C.glfwSetWindowShouldClose()
|
||||
fn C.glfwWaitEvents()
|
||||
fn C.glfwPollEvents()
|
||||
fn C.glfwSwapInterval()
|
||||
fn C.glfwMakeContextCurrent()
|
||||
fn C.glfwSetWindowTitle()
|
||||
fn C.glfwTerminate()
|
||||
fn C.glfwCreateWindow()
|
||||
fn C.glfwWindowHint()
|
||||
fn C.glfwDestroyWindow()
|
||||
fn C.glfwInit()
|
||||
fn C.glGetIntegerv()
|
||||
|
||||
// joe-c: fix & remove
|
||||
struct TmpGlImportHack {
|
||||
|
|
|
@ -31,3 +31,4 @@ pub fn rand_r(seed &int) int {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue