Replace import_load with using import .

This commit is contained in:
Ginger Bill
2017-08-27 17:03:27 +01:00
parent 6707c8750e
commit b9e347ef50
26 changed files with 211 additions and 4132 deletions
+3 -5
View File
@@ -2,11 +2,9 @@ foreign_system_library (
lib "opengl32.lib" when ODIN_OS == "windows";
lib "gl" when ODIN_OS == "linux";
)
import (
win32 "sys/windows.odin" when ODIN_OS == "windows";
"sys/wgl.odin" when ODIN_OS == "windows";
)
import_load "opengl_constants.odin";
import win32 "sys/windows.odin" when ODIN_OS == "windows";
import "sys/wgl.odin" when ODIN_OS == "windows";
using import . "opengl_constants.odin";
_ := compile_assert(ODIN_OS != "osx");