SDL2.0.8 getting image

SDL_ANYFORMAT was not declared in this scope
SDL_SetVideoMode was not declared in this scope
SDL_DisplayFormat was not declared in this scope
SDL_UpdateRect was not declared in this scope

when i am compiling code got this 4 ERROR
sorry for Broken English

These are SDL 1.2 features; they do not exist in SDL 2.0.

1 Like