lt,
texture_from_bmp("images/cursor.bmp", renderer),
SDL_DestroyTexture);
- /* TODO(#773): If a specific blending is not supported that should not crash the entire game */
if (SDL_SetTextureBlendMode(
game->texture_cursor,
SDL_ComposeCustomBlendMode(
SDL_BLENDFACTOR_ONE,
SDL_BLENDFACTOR_ZERO,
SDL_BLENDOPERATION_ADD)) < 0) {
- log_fail("SDL error: %s\n", SDL_GetError());
- RETURN_LT(lt, NULL);
+ log_warn("SDL error: %s\n", SDL_GetError());
}
game->cursor_x = 0;
game->cursor_y = 0;