File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -9951,13 +9951,6 @@ static bool VULKAN_INTERNAL_AcquireSwapchainTexture(
9951
9951
}
9952
9952
}
9953
9953
9954
- if (swapchainTextureWidth ) {
9955
- * swapchainTextureWidth = windowData -> width ;
9956
- }
9957
- if (swapchainTextureHeight ) {
9958
- * swapchainTextureHeight = windowData -> height ;
9959
- }
9960
-
9961
9954
if (windowData -> inFlightFences [windowData -> frameCounter ] != NULL ) {
9962
9955
if (block ) {
9963
9956
// If we are blocking, just wait for the fence!
@@ -10009,6 +10002,14 @@ static bool VULKAN_INTERNAL_AcquireSwapchainTexture(
10009
10002
}
10010
10003
}
10011
10004
10005
+ if (swapchainTextureWidth ) {
10006
+ * swapchainTextureWidth = windowData -> width ;
10007
+ }
10008
+
10009
+ if (swapchainTextureHeight ) {
10010
+ * swapchainTextureHeight = windowData -> height ;
10011
+ }
10012
+
10012
10013
swapchainTextureContainer = & windowData -> textureContainers [swapchainImageIndex ];
10013
10014
10014
10015
// We need a special execution dependency with pWaitDstStageMask or image transition can start before acquire finishes
You can’t perform that action at this time.
0 commit comments