Search results

  1. D

    Setting Up The Hw Sdl Libs.

    From the SDL docs: I assume that not enabling is the same as not supporting, since calling SDL_UpdateRect gives similar results. That combination doesn't work either. Which SDK are you using?
  2. D

    Setting Up The Hw Sdl Libs.

    Thanks for trying. I guess I'll probably either use software surfaces, or just deal with the flicker if its not too bad(since hardware has a major speed boost).
  3. D

    Setting Up The Hw Sdl Libs.

    I went all the way down to 15 and it still flickered, just less. I know how to calculate from rates, I have previous SDL experiance, just not on the gp2x. I don't think you realize that data types loop back aorund, and their calculations work even if they go over the break, so the game won't...
  4. D

    Setting Up The Hw Sdl Libs.

    Unfortunatly, it doesn't work quite the same for me. If I change the SDL_SWSURFACE to SDL_HWSURFACE and don't add the |SDL_DOUBLEBUF, and display a picture and flip, the image flickers, which I assume is the same problem that is answered here(...
  5. D

    Setting Up The Hw Sdl Libs.

    Although I have tried with it flipping the buffer, I'm not sure why that matters if it doesn't make it past the SDL_SetVideoMode call.
  6. D

    Setting Up The Hw Sdl Libs.

    The example directly works, but if I change: screen = SDL_SetVideoMode (320, 240, 16, SDL_SWSURFACE); to screen = SDL_SetVideoMode (320, 240, 16, SDL_HWSURFACE|SDL_DOUBLEBUF); then it crashes my gp2x.
  7. D

    Setting Up The Hw Sdl Libs.

    SDL_SetVideoMode crashes my gp2x if I tell it to use double buffering with the libs that came with that SDK, so I think it doesn't have hw sdl. You are probably correct about the compiler differences, since I saw many FP warnings, and also some linker errors about it unable to find certain...
  8. D

    Setting Up The Hw Sdl Libs.

    ALthough this probably sounds really stupid, I can't figure out what includes and libraries to put where. I am using the GPH windows devkit. From looking at Tools>compiler settings in dev-c++, it seems the the directory for includes is "GP2XSDK\Tools\include" and libraries is...
Back
Top