2
0
Эх сурвалжийг харах

Reduce warning severity when resizing texture with immutable stirage

tobspr 9 жил өмнө
parent
commit
0c16baa707

+ 1 - 1
panda/src/glstuff/glGraphicsStateGuardian_src.cxx

@@ -11502,7 +11502,7 @@ upload_texture(CLP(TextureContext) *gtc, bool force, bool uses_mipmaps) {
   }
   }
 
 
   if (needs_reload && gtc->_immutable) {
   if (needs_reload && gtc->_immutable) {
-    GLCAT.warning() << "Attempt to modify texture with immutable storage, recreating texture.\n";
+    GLCAT.info() << "Attempt to modify texture with immutable storage, recreating texture.\n";
     gtc->reset_data();
     gtc->reset_data();
     glBindTexture(target, gtc->_index);
     glBindTexture(target, gtc->_index);