Fixed texture color modulation with SDL_BLENDMODE_NONE when using the OpenGL renderer.Fixed flipped images when reading back from target textures when using the OpenGL renderer.Added support for AUDIO_U16LSB and AUDIO_U16MSB to SDL_MixAudioFormat().Added SDL_SetWindowModalFor() to set a window as modal for another window.Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity() to affect the window transparency.Added SDL_SetWindowResizable() to change whether a window is resizable.Added a window event SDL_WINDOWEVENT_HIT_TEST when a window had a hit test that wasn’t SDL_HITTEST_NORMAL (e.g.Added SDL_GetWindowBordersSize() which returns the size of the window’s borders around the client area.For example, on Mac OS X, this subtracts the area occupied by the menu bar and dock. Added SDL_GetDisplayUsableBounds() which returns the area usable for windows.Added SDL_CreateRGBSurfaceWithFormat() and SDL_CreateRGBSurfaceWithFormatFrom() to create an SDL surface with a specific pixel format.Added SDL_RenderSetIntegerScale() to set whether to smoothly scale or use integral multiples of the viewport size when scaling the rendering output. Added SDL_GetHintBoolean() to get the boolean value of a hint. You can set the hint SDL_HINT_BMP_SAVE_LEGACY_FORMAT to “1” to use the old format.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |