|
|
@@ -24,7 +24,7 @@ OTHER DEALINGS IN THE SOFTWARE.
|
|
|
*/
|
|
|
|
|
|
#include "VertexShaderResource.h"
|
|
|
-#include "FileStream.h"
|
|
|
+#include "DiskFile.h"
|
|
|
#include "ResourceArchive.h"
|
|
|
#include "Allocator.h"
|
|
|
#include "Device.h"
|
|
|
@@ -36,7 +36,7 @@ namespace crown
|
|
|
//-----------------------------------------------------------------------------
|
|
|
void* VertexShaderResource::load(Allocator& allocator, ResourceArchive& archive, ResourceId id)
|
|
|
{
|
|
|
- FileStream* stream = archive.open(id);
|
|
|
+ DiskFile* stream = archive.open(id);
|
|
|
|
|
|
CE_ASSERT(stream != NULL, "Resource does not exist: %.8X%.8X", id.name, id.type);
|
|
|
|