zephr/os/windows: create window and gl context

This commit is contained in:
2024-01-24 05:59:44 +02:00
parent 43da578ff2
commit 01ecd1b341
14 changed files with 1013 additions and 573 deletions
+2 -4
View File
@@ -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()
}