File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3063,7 +3063,7 @@ void pgraph_get_clear_color(PGRAPHState *pg, float rgba[4])
3063
3063
* b = 1.0f ;
3064
3064
fprintf (stderr , "CLEAR_SURFACE for color_format 0x%x unsupported" ,
3065
3065
pg -> surface_shape .color_format );
3066
- assert (false );
3066
+ assert (! "CLEAR_SURFACE not supported for selected surface format" );
3067
3067
break ;
3068
3068
}
3069
3069
@@ -3077,7 +3077,7 @@ void pgraph_get_clear_color(PGRAPHState *pg, float rgba[4])
3077
3077
case NV097_SET_SURFACE_FORMAT_COLOR_LE_X1A7R8G8B8_Z1A7R8G8B8 :
3078
3078
case NV097_SET_SURFACE_FORMAT_COLOR_LE_X1A7R8G8B8_O1A7R8G8B8 :
3079
3079
* a = ((clear_color >> 24 ) & 0x7F ) / 127.0f ;
3080
- assert (false ); /* Untested */
3080
+ assert (! "CLEAR_SURFACE handling for LE_X1A7R8G8B8_Z1A7R8G8B8 and LE_X1A7R8G8B8_O1A7R8G8B8 is untested" ); /* Untested */
3081
3081
break ;
3082
3082
case NV097_SET_SURFACE_FORMAT_COLOR_LE_A8R8G8B8 :
3083
3083
* a = ((clear_color >> 24 ) & 0xFF ) / 255.0f ;
You can’t perform that action at this time.
0 commit comments