fun height=(value: Int) do requested_height = value
private var requested_height = 1080
+ redef fun show_cursor do return sdl_display.show_cursor
+
+ redef fun show_cursor=(val) do sdl_display.show_cursor = val
+
# Setup SDL, X11, EGL in order
redef fun setup
do
setup_egl_display x11_display
if debug_gamnit then print "Setting up EGL context"
- select_egl_config(8, 8, 8, 8, 8, 0, 0)
+ select_egl_config(red_bits, green_bits, blue_bits, 8, 8, 0, 0)
setup_egl_context window_handle
end
end
end
-redef class GamnitAssetTexture
+redef class TextureAsset
redef fun load_from_platform
do