C RÉPARER ENFIN !!!!
La swapChain est correctement resize lors d'un changement de taille de fenetre.
This commit is contained in:
@@ -44,7 +44,7 @@ public:
|
||||
IDXGISwapChain* GetSwapChain();
|
||||
void ResizeSwapChain(int, int);
|
||||
|
||||
void GetProjectionMatrix(XMMATRIX&);
|
||||
XMMATRIX GetProjectionMatrix();
|
||||
void GetWorldMatrix(XMMATRIX&);
|
||||
void GetOrthoMatrix(XMMATRIX&);
|
||||
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
void ResetViewport();
|
||||
|
||||
void ReleaseResources();
|
||||
bool RecreateResources();
|
||||
void ResetResources(int newWidth, int newHeight);
|
||||
|
||||
private:
|
||||
bool m_vsync_enabled;
|
||||
|
||||
Reference in New Issue
Block a user