mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-23 09:34:07 +00:00
backend refactor
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@683 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -136,7 +136,7 @@ static int create(MwWidget handle) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
handle->lowlevel->copy_buffer = 0;
|
||||
handle->lowlevel->common.copy_buffer = 0;
|
||||
|
||||
handle->internal = o;
|
||||
MwSetDefault(handle);
|
||||
@@ -313,8 +313,8 @@ static MwErrorEnum vulkan_surface_setup(MwWidget handle, vulkan_t* o) {
|
||||
.sType = VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR,
|
||||
.pNext = NULL,
|
||||
.flags = 0,
|
||||
.dpy = handle->lowlevel->display,
|
||||
.window = handle->lowlevel->window,
|
||||
.dpy = handle->lowlevel->x11.display,
|
||||
.window = handle->lowlevel->x11.window,
|
||||
};
|
||||
VK_CMD(_vkCreateXlibSurfaceKHR(o->vkInstance, &createInfo, NULL, &o->vkSurface));
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user