Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 273 vs 274 for /trunk/Source Code/Hardware/Video/Headers/GFXDevice.h

Diff revisions: vs.
  @@ -205,7 +205,7 @@
205 205 ///It is not set immediately, but a call to "updateStates" is required
206 206 I64 setStateBlock(I64 stateBlockHash, bool forceUpdate = false);
207 207 /// Return or create a new state block using the given descriptor. DO NOT DELETE THE RETURNED STATE BLOCK! GFXDevice handles that!
208 - I64 getOrCreateStateBlock(RenderStateBlockDescriptor& descriptor);
208 + I64 getOrCreateStateBlock(const RenderStateBlockDescriptor& descriptor);
209 209 const RenderStateBlockDescriptor& getStateBlockDescriptor(I64 renderStateBlockHash) const;
210 210 ///Sets a standard state block
211 211 inline I64 setDefaultStateBlock(bool forceUpdate = false) {return setStateBlock(_defaultStateBlockHash, forceUpdate);}