0

here's my problem: I'm doing a NES emulator for STM32F4DISCOVERY, and I almost done but I depende on an extern file (SDL) and I looked for one and found the official page, I downloaded the 2.0 version but my program cant resolve "SDL_HWSURFACE" and "SDL_DOUBLEBUF"

gui->screen = SDL_SetVideoMode(width * GUI_IMAGE_SCALE,height * GUI_IMAGE_SCALE, 32, SDL_HWSURFACE | SDL_DOUBLEBUF);

Where can I download the correct one? (i work on C#)

genpfault
  • 51,148
  • 11
  • 85
  • 139

1 Answers1

0

There's no SDL_SetVideoMode() in SDL2. Use SDL_CreateWindow() instead.

genpfault
  • 51,148
  • 11
  • 85
  • 139