mirror of
https://github.com/IllusionMan1212/ndk-odin.git
synced 2026-10-23 18:12:31 +00:00
more progress. removed the unions because they have a bigger size than the foreign procs expects and that messes things up
This commit is contained in:
@@ -256,9 +256,7 @@ foreign android {
|
||||
* *any* thread it will send a message to the main thread of the process
|
||||
* where the Java finish call will take place.
|
||||
*/
|
||||
// TODO: wtf is format here ?? is there an enum or constants for this proc?
|
||||
// I think this might be AHardwareBuffer_Format, but annoyingly so, it's u32 while this proc requires i32.
|
||||
ANativeActivity_setWindowFormat :: proc(activity: ^ANativeActivity, format: i32) ---
|
||||
ANativeActivity_setWindowFormat :: proc(activity: ^ANativeActivity, format: AHardwareBuffer_Format) ---
|
||||
|
||||
/**
|
||||
* Change the window flags of the given activity. Calls getWindow().setFlags()
|
||||
|
||||
Reference in New Issue
Block a user