sdl_anyformat - 一般地,如果给与的像素位数(bits-per-pixel,bpp)不可用的话,sdl回使用影子surface(shadow surface)模拟。sdl_anyformat会阻止这么做,而忽略参数中的像素位数。
sdl_hwpalette –给予sdl 独立的调色板访问(exclusive palette access)。没有这个选项,你不能通过sdl_setcolors或sdl_setpalette来获取颜色。
sdl_anyformat - 一般地,如果给与的像素位数(bits-per-pixel,bpp)不可用的话,sdl回使用影子surface(shadow surface)模拟。sdl_anyformat会阻止这么做,而忽略参数中的像素位数。
sdl_hwpalette –给予sdl 独立的调色板访问(exclusive palette access)。没有这个选项,你不能通过sdl_setcolors或sdl_setpalette来获取颜色。