GPU: Add swapchain dimension out params (#11003)

This commit is contained in:
Evan Hemsley
2024-09-30 10:23:19 -07:00
committed by GitHub
parent b3388d5753
commit afdf325fb4
11 changed files with 347 additions and 285 deletions

View File

@@ -651,7 +651,9 @@ struct SDL_GPUDevice
bool (*AcquireSwapchainTexture)(
SDL_GPUCommandBuffer *commandBuffer,
SDL_Window *window,
SDL_GPUTexture **swapchainTexture);
SDL_GPUTexture **swapchainTexture,
Uint32 *swapchainTextureWidth,
Uint32 *swapchainTextureHeight);
bool (*Submit)(
SDL_GPUCommandBuffer *commandBuffer);