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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user