diff --git a/Diya/DiyaBoot.class.st b/Diya/DiyaBoot.class.st index f0381c2..48ddbf9 100644 --- a/Diya/DiyaBoot.class.st +++ b/Diya/DiyaBoot.class.st @@ -33,6 +33,12 @@ DiyaBoot >> GLinit. [ 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 } DiyaBoot >> createGLContext [ context := SDL2 glCreateContext: window.