mirror of
https://github.com/lxsang/Diya-API.git
synced 2025-07-23 17:29:57 +02:00
add GLinit
This commit is contained in:
@ -33,6 +33,12 @@ DiyaBoot >> GLinit. [
|
|||||||
OpenGL enable: GL_TEXTURE_2D.
|
OpenGL enable: GL_TEXTURE_2D.
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #events }
|
||||||
|
DiyaBoot >> GLinit. [
|
||||||
|
OpenGL viewportX: 0 Y:0 W: display w H: display h.
|
||||||
|
OpenGL enable: GL_TEXTURE_2D.
|
||||||
|
]
|
||||||
|
|
||||||
{ #category : #events }
|
{ #category : #events }
|
||||||
DiyaBoot >> createGLContext [
|
DiyaBoot >> createGLContext [
|
||||||
context := SDL2 glCreateContext: window.
|
context := SDL2 glCreateContext: window.
|
||||||
|
Reference in New Issue
Block a user