Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 556 vs 557 for /trunk/Source Code/Platform/Video/OpenGL/GLWrapper.cpp

Diff revisions: vs.
  @@ -662,9 +662,9 @@
662 662
663 663 /// Verify if we have a sampler object created and available for the given
664 664 /// descriptor
665 - size_t GL_API::getOrCreateSamplerObject(const SamplerDescriptor& descriptor) {
665 + U32 GL_API::getOrCreateSamplerObject(const SamplerDescriptor& descriptor) {
666 666 // Get the descriptor's hash value
667 - size_t hashValue = descriptor.getHash();
667 + U32 hashValue = descriptor.getHash();
668 668 // Try to find the hash value in the sampler object map
669 669 samplerObjectMap::const_iterator it = _samplerMap.find(hashValue);
670 670 // If we fail to find it, we need to create a new sampler object
  @@ -678,7 +678,7 @@
678 678 }
679 679
680 680 /// Return the OpenGL sampler object's handle for the given hash value
681 - GLuint GL_API::getSamplerHandle(size_t samplerHash) {
681 + GLuint GL_API::getSamplerHandle(U32 samplerHash) {
682 682 // If the hash value is 0, we assume the code is trying to unbind a sampler object
683 683 GLuint samplerHandle = 0;
684 684 if (samplerHash > 0) {