We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f1f25b4 + f7cbbfd commit 045d96dCopy full SHA for 045d96d
mooflu.common/utilsgl/GLTextureCubeMap.cpp
@@ -94,7 +94,10 @@ void GLTextureCubeMap::init(void) {
94
#endif
95
}
96
97
-void GLTextureCubeMap::reload(void) {
+void GLTextureCubeMap::reset(void) {
98
TextureManagerS::instance()->removeTexture(this);
99
+}
100
+
101
+void GLTextureCubeMap::reload(void) {
102
init();
103
mooflu.common/utilsgl/GLTextureCubeMap.hpp
@@ -43,6 +43,7 @@ class GLTextureCubeMap : public GLTextureI {
43
44
void unbind(void) { glBindTexture(GL_TEXTURE_CUBE_MAP_ARB, 0); }
45
46
+ void reset(void);
47
void reload(void);
48
49
private:
0 commit comments