mirror of
https://github.com/lxsang/Diya-API.git
synced 2025-03-12 18:42:48 +01:00
add GLinit
This commit is contained in:
parent
240add5399
commit
4bfcf5a09a
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user