Search:

Type: Posts; User: cyberfish

Search: Search took 0.02 seconds.

  1. Thread: Uint32 math

    by cyberfish
    Replies
    12
    Views
    2,577

    Yeap.

    Yeap.
  2. Thread: Uint32 math

    by cyberfish
    Replies
    12
    Views
    2,577

    The conventional way is to use "|", the bitwise...

    The conventional way is to use "|", the bitwise OR operator.

    For example, those constants could be declared as something like
    SDL_HWSURFACE = 0x1;
    SDL_SWSURFACE = 0x2;
    SDL_OPENGL 0x4;...
Results 1 to 2 of 2