Changeset 2356
- Timestamp:
- 05/08/07 16:25:27 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OGRE/trunk/ogre_changes/Ogre1.2/RenderSystems/Direct3D9/src/OgreD3D9HLSLProgram.cpp
r2354 r2356 31 31 #include "OgreRenderSystem.h" 32 32 #include "OgreRenderSystemCapabilities.h" 33 34 #ifdef GAMETOOLS_ILLUMINATION_MODULE 35 #include "OgreFileSystem.h" 36 #endif 33 37 34 38 namespace Ogre { … … 114 118 if(mFlowControl == -1) 115 119 mCompilerFlags = mCompilerFlags|D3DXSHADER_AVOID_FLOW_CONTROL; 116 120 121 FileInfoListPtr fileInfos = ResourceGroupManager::getSingleton().findResourceFileInfo(mGroup, mFilename); 122 FileInfo FI = fileInfos->at(0); 123 String fullPathName = ((FileSystemArchive*)FI.archive)->getTmpPath()+"\\"+ 124 ((FileSystemArchive*)FI.archive)->getBasePath() +"\\"+ 125 mFilename; 126 String Fname2 = "C:\GameToolsSVN\Ogre\Ogre1.2\Samples\Media\DeferredShadingMedia\DeferredShading\material\hlsl\vs.hlsl"; 117 127 HRESULT hr = D3DXCompileShaderFromFile( 118 mFilename.c_str(),128 fullPathName.c_str(), 119 129 NULL, //no preprocessor defines 120 130 NULL, //no includes
Note: See TracChangeset
for help on using the changeset viewer.