Redefine ID types to be actual pointers
Redefined various ID types to be aliases of pointers instead of casting a uintptr_t to the needed pointer. e.g. SurfaceID = Surface*
This commit is contained in:
@@ -14,9 +14,8 @@
|
||||
#include <vector>
|
||||
|
||||
namespace Nova {
|
||||
struct SurfaceData {
|
||||
struct Surface {
|
||||
VkSurfaceKHR handle = VK_NULL_HANDLE;
|
||||
// TODO: Add stuff here
|
||||
};
|
||||
|
||||
class VulkanRenderDriver final : public RenderDriver {
|
||||
|
||||
Reference in New Issue
Block a user