Skip to content

Commit

Permalink
chore: remove unused swapchain member from app data struct
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffstadt committed Feb 20, 2025
1 parent 497c896 commit 1308191
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sandbox/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ typedef struct _plAppData
plWindow* ptWindow;

// swapchains
plSwapchain* ptSwap;
bool bResize;
bool bResize;

// ui options
plDebugApiInfo tDebugInfo;
Expand Down Expand Up @@ -320,7 +319,6 @@ pl_app_load(plApiRegistryI* ptApiRegistry, plAppData* ptAppData)

// setup reference renderer
gptRenderer->initialize(ptAppData->ptWindow);
ptAppData->ptSwap = gptRenderer->get_swapchain();

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~setup draw extensions~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 1308191

Please sign in to comment.