D3D: Remove an unnecessary call to Host_GetRenderWindowSize()
This commit is contained in:
parent
7bf82f1989
commit
2b341bb267
|
@ -179,10 +179,6 @@ void CreateScreenshotTexture(const TargetRectangle& rc)
|
|||
|
||||
Renderer::Renderer(void *&window_handle)
|
||||
{
|
||||
int x, y, w_temp, h_temp;
|
||||
|
||||
Host_GetRenderWindowSize(x, y, w_temp, h_temp);
|
||||
|
||||
D3D::Create((HWND)window_handle);
|
||||
|
||||
s_backbuffer_width = D3D::GetBackBufferWidth();
|
||||
|
|
Loading…
Reference in New Issue