We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0261c2e commit 484129cCopy full SHA for 484129c
2 files changed
src/hyperlib/renderer/effect.cpp
@@ -668,7 +668,7 @@ namespace hyper
668
669
for (technique* i = this->supported_table_.begin(); i != this->supported_table_.end(); ++i)
670
{
671
- if (length == i->name.length() && ::memcmp(name, i->name, length))
+ if (length == i->name.length() && !::memcmp(name, i->name, length))
672
673
return i;
674
}
@@ -795,7 +795,7 @@ namespace hyper
795
796
for (size_t i = 0u; i < shader_lib::inputs_.length(); ++i)
797
798
- if (::strcmp(name, shader_lib::inputs_[i].effect_name))
+ if (!::strcmp(name, shader_lib::inputs_[i].effect_name))
799
800
return &shader_lib::inputs_[i];
801
src/hyperlib/version.hpp
@@ -1 +1 @@
1
-#define __VERSION__ 51
+#define __VERSION__ 54
0 commit comments