mirror of
https://github.com/IllusionMan1212/O2048.git
synced 2026-10-24 10:12:37 +00:00
zephr/os/windows: create window and gl context
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
package main
|
||||
|
||||
import gl "vendor:OpenGL"
|
||||
import "glx"
|
||||
import "zephr"
|
||||
|
||||
font_path :: "assets/fonts/Rubik/Rubik-VariableFont_wght.ttf"
|
||||
icon_path :: "assets/icon-128x128.png"
|
||||
when ODIN_OS == .Windows {icon_path :: "assets/icon-128x128.ico"}
|
||||
when ODIN_OS == .Linux {icon_path :: "assets/icon-128x128.png"}
|
||||
title :: "2048"
|
||||
|
||||
main :: proc() {
|
||||
@@ -15,4 +14,3 @@ main :: proc() {
|
||||
|
||||
zephr.deinit()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user