src/render/opengl/SDL_render_gl.c
changeset 7196 fe0848afab9f
parent 7194 987fb567bba9
child 7197 126f8f345bfb
equal deleted inserted replaced
7195:d206c3a59b2e 7196:fe0848afab9f
   319         data->error_messages = SDL_realloc(data->error_messages, data->errors * sizeof(*data->error_messages));
   319         data->error_messages = SDL_realloc(data->error_messages, data->errors * sizeof(*data->error_messages));
   320         if (data->error_messages) {
   320         if (data->error_messages) {
   321             data->error_messages[data->errors-1] = SDL_strdup(message);
   321             data->error_messages[data->errors-1] = SDL_strdup(message);
   322         }
   322         }
   323     }
   323     }
   324     printf("%s\n", message);
       
   325 
   324 
   326     /* If there's another error callback, pass it along, otherwise log it */
   325     /* If there's another error callback, pass it along, otherwise log it */
   327     if (data->next_error_callback) {
   326     if (data->next_error_callback) {
   328         data->next_error_callback(source, type, id, severity, length, message, data->next_error_userparam);
   327         data->next_error_callback(source, type, id, severity, length, message, data->next_error_userparam);
   329     } else {
   328     } else {