mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 17:36:25 +00:00
Update SDL_GpuDevice to SDL_GPUDevice
This commit is contained in:

committed by
Ryan C. Gordon

parent
4eff36ef53
commit
e9535fa026
@@ -3759,7 +3759,7 @@ static void METAL_ReleaseWindow(
|
|||||||
MetalWindowData *windowData = METAL_INTERNAL_FetchWindowData(window);
|
MetalWindowData *windowData = METAL_INTERNAL_FetchWindowData(window);
|
||||||
|
|
||||||
if (windowData == NULL) {
|
if (windowData == NULL) {
|
||||||
SET_STRING_ERROR_AND_RETURN("Window is not claimed by this SDL_GpuDevice", );
|
SET_STRING_ERROR_AND_RETURN("Window is not claimed by this SDL_GPUDevice", );
|
||||||
}
|
}
|
||||||
|
|
||||||
METAL_Wait(driverData);
|
METAL_Wait(driverData);
|
||||||
@@ -3838,7 +3838,7 @@ static bool METAL_INTERNAL_AcquireSwapchainTexture(
|
|||||||
|
|
||||||
windowData = METAL_INTERNAL_FetchWindowData(window);
|
windowData = METAL_INTERNAL_FetchWindowData(window);
|
||||||
if (windowData == NULL) {
|
if (windowData == NULL) {
|
||||||
SET_STRING_ERROR_AND_RETURN("Window is not claimed by this SDL_GpuDevice", false);
|
SET_STRING_ERROR_AND_RETURN("Window is not claimed by this SDL_GPUDevice", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update the window size
|
// Update the window size
|
||||||
|
Reference in New Issue
Block a user