Skip to content

Commit

Permalink
Fix error message legibility. (#6013)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakercp authored and arturoc committed May 11, 2018
1 parent fbcf32b commit 58e47e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/openFrameworks/gl/ofGLUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ int ofGetGLInternalFormatFromPixelFormat(ofPixelFormat pixelFormat){
}
#endif
default:
ofLogError("ofGLUtils") << "ofGetGLInternalFormatFromPixelFormat(): unknown OF pixel format"
ofLogError("ofGLUtils") << "ofGetGLInternalFormatFromPixelFormat(): unknown OF pixel format "
<< ofToString(pixelFormat) << ", returning GL_RGBA";
return GL_RGBA;
}
Expand Down Expand Up @@ -671,12 +671,12 @@ int ofGetGLFormatFromPixelFormat(ofPixelFormat pixelFormat){
default:
#ifndef TARGET_OPENGLES
if(ofIsGLProgrammableRenderer()){
ofLogError("ofGLUtils") << "ofGetGLFormatFromPixelFormat(): unknown OF pixel format"
ofLogError("ofGLUtils") << "ofGetGLFormatFromPixelFormat(): unknown OF pixel format "
<< ofToString(pixelFormat) << ", returning GL_RED";
return GL_RED;
}else{
#endif
ofLogError("ofGLUtils") << "ofGetGLFormatFromPixelFormat(): unknown OF pixel format"
ofLogError("ofGLUtils") << "ofGetGLFormatFromPixelFormat(): unknown OF pixel format "
<< ofToString(pixelFormat) << ", returning GL_LUMINANCE";
return GL_LUMINANCE;
#ifndef TARGET_OPENGLES
Expand Down

0 comments on commit 58e47e3

Please sign in to comment.