Closed sunkin351 closed 7 years ago
Interesting; this is using the Mono compiler? Will look at changing the Size constants to regular ints for cross-compatibility.
That fixed it. Before I close this, (This is off-topic, I am sorry, I have not found a good solution to this yet.) how would you recommend going about getting an XCB window handle (connection and window index) for linux with this? I have tried to get it with unmanaged code but there have been many issues.
I'm not hugely familiar with .NET on Linux, I'm afraid, but I was looking at moving the sample code to something like GLFW to make them cross-platform; I'll have a look this weekend and see what I can get working.
That would be awesome, please do. :)
Files: LayerProperties.cs PhysicalDeviceProperties.cs
screenshot:
Have it remove theEdit: It does need it, sorry, but it isnt accepting the conversion either because the conversion would make it "non-constant".uint
toint
conversion, its really not needed anyway.