瀏覽代碼

Fix for minor typo resulting in uninitialized member m_pScissorTestEnable

David Wimsey 11 年之前
父節點
當前提交
c5ffdf1b40
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
 {
 	m_pScissorTestDisable = NULL;
-	m_pScissorTestDisable = NULL;
+	m_pScissorTestEnable = NULL;
 	m_pD3D10Device=pD3D10Device;
 	setupEffect();
 	//Create our view and projection matrix