1 diff -urN orig/OgreMain/src/OgreScriptCompiler.cpp new/OgreMain/src/OgreScriptCompiler.cpp
2 --- orig/OgreMain/src/OgreScriptCompiler.cpp 2012-09-02 00:27:15.000000000 -0500
3 +++ new/OgreMain/src/OgreScriptCompiler.cpp 2013-10-23 10:04:19.914107738 -0500
8 - mCompiler->addError(CE_UNEXPECTEDTOKEN, impl->file, impl->line, "token class, " + impl->cls + ", unrecognized.");
9 + //mCompiler->addError(CE_UNEXPECTEDTOKEN, impl->file, impl->line, "token class, " + impl->cls + ", unrecognized.");
12 asn = AbstractNodePtr(impl);
13 diff -urN orig/RenderSystems/Direct3D11/src/OgreD3D11RenderSystem.cpp new/RenderSystems/Direct3D11/src/OgreD3D11RenderSystem.cpp
14 --- orig/RenderSystems/Direct3D11/src/OgreD3D11RenderSystem.cpp 2012-09-02 00:27:15.000000000 -0500
15 +++ new/RenderSystems/Direct3D11/src/OgreD3D11RenderSystem.cpp 2013-10-23 10:04:19.918107781 -0500
20 - if (D3D11Device::D3D_NO_EXCEPTION != D3D11Device::getExceptionsErrorLevel())
21 + if (D3D11Device::D3D_NO_EXCEPTION != D3D11Device::getExceptionsErrorLevel() && OGRE_DEBUG_MODE)
23 deviceFlags |= D3D11_CREATE_DEVICE_DEBUG;
25 diff -urN orig/RenderSystems/Direct3D9/src/OgreD3D9GpuProgram.cpp new/RenderSystems/Direct3D9/src/OgreD3D9GpuProgram.cpp
26 --- orig/RenderSystems/Direct3D9/src/OgreD3D9GpuProgram.cpp 2012-09-02 00:27:15.000000000 -0500
27 +++ new/RenderSystems/Direct3D9/src/OgreD3D9GpuProgram.cpp 2013-10-23 10:03:36.357635192 -0500
30 // Assemble source into microcode
31 LPD3DXBUFFER microcode;
32 - LPD3DXBUFFER errors;
33 + LPD3DXBUFFER errors = 0;
34 HRESULT hr = D3DXAssembleShader(
36 static_cast<UINT>(mSource.length()),
41 - String message = "Cannot assemble D3D9 shader " + mName + " Errors:\n" +
42 - static_cast<const char*>(errors->GetBufferPointer());
47 + message = "Cannot assemble D3D9 shader " + mName + " Errors:\n" +
48 + static_cast<const char*>(errors->GetBufferPointer());
53 + message = "Cannot assemble D3D9 shader " + mName + " - DirectX update needed";
55 OGRE_EXCEPT(Exception::ERR_RENDERINGAPI_ERROR, message,
56 "D3D9GpuProgram::loadFromSource");