Load cannot be namespaced anymore due to weird namespace behaviour that this creates.

I need to add a way to import but force evaluation of everything in the future to make
that up.
This commit is contained in:
Krzosa Karol
2022-10-06 14:24:29 +02:00
parent 8395969620
commit 0010b92ef1
9 changed files with 19 additions and 16 deletions

View File

@@ -4,7 +4,7 @@
#import "WINMM.core"
#import "Windows.core"
OS :: struct
Platform :: struct
bitmap: Bitmap
window_dc: HDC
window: HWND
@@ -130,7 +130,7 @@ StartMultimedia :: (x: S64 = 1280, y: S64 = 720, title: String = "Hello people!"
Assert(size.x == x && size.y == y)
Mu.os.window_dc = GetDC(Mu.os.window)
Mu.os.bitmap = W32.CreateBitmap(Mu.os.window_dc, size)
Mu.os.bitmap = CreateBitmap(Mu.os.window_dc, size)
Mu.screen = Mu.os.bitmap.data
Mu.window.x = size.x