Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 770 vs 771 for /trunk/Source Code/Geometry/Material/Material.cpp

Diff revisions: vs.
  @@ -562,7 +562,7 @@
562 562 for (U32 index = 0; index < to_const_uint(RenderStage::COUNT); ++index) {
563 563 for (U8 variant = 0; variant < _defaultRenderStates[index].size(); ++variant) {
564 564 size_t hash = _defaultRenderStates[index][variant];
565 - RenderStateBlock descriptor(GFX_DEVICE.getRenderStateBlock(hash));
565 + RenderStateBlock descriptor(RenderStateBlock::get(hash));
566 566 descriptor.setCullMode(CullMode::NONE);
567 567 if (_translucencySource != TranslucencySource::COUNT) {
568 568 descriptor.setBlend(true);