Browse Source

Fix for minor typo resulting in uninitialized member m_pScissorTestEnable

David Wimsey 11 years ago
parent
commit
c5ffdf1b40
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Samples/basic/directx10/src/RenderInterfaceDirectx10.cpp

+ 1 - 1
Samples/basic/directx10/src/RenderInterfaceDirectx10.cpp

@@ -47,7 +47,7 @@ const D3D10_INPUT_ELEMENT_DESC layout[] =
 RenderInterfaceDirectX10::RenderInterfaceDirectX10(ID3D10Device * pD3D10Device,float screenWidth,float screenHeight)
 RenderInterfaceDirectX10::RenderInterfaceDirectX10(ID3D10Device * pD3D10Device,float screenWidth,float screenHeight)
 {
 {
 	m_pScissorTestDisable = NULL;
 	m_pScissorTestDisable = NULL;
-	m_pScissorTestDisable = NULL;
+	m_pScissorTestEnable = NULL;
 	m_pD3D10Device=pD3D10Device;
 	m_pD3D10Device=pD3D10Device;
 	setupEffect();
 	setupEffect();
 	//Create our view and projection matrix
 	//Create our view and projection matrix