[SDL] how to know the surface is the screen or not?

宋江山 jiangshan00000 at gmail.com
Sun Jul 17 19:13:51 PDT 2011

I'm writing a fbcon hardware accel driver.
I'd like to do something in FillHWRect like this:

    if ( (dest_surface is screen) &&(screen is NOT doube buffered))
      wait vsync
   blit here

Does any one know how to do this?

Best wishes,

More information about the SDL mailing list