···11The MIT License (MIT)
22-Copyright (c) 2013 Jonathan Dearborn
22+Copyright (c) 2014 Jonathan Dearborn
3344Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
55
+4-3
SDL_gpu/SDL_gpu.h
···12121313// Compile-time versions
1414#define SDL_GPU_VERSION_MAJOR 0
1515-#define SDL_GPU_VERSION_MINOR 6
1515+#define SDL_GPU_VERSION_MINOR 8
1616#define SDL_GPU_VERSION_PATCH 0
17171818/* Auto-detect if we're using the SDL2 API by the headers available. */
···912912 */
913913void GPU_MakeCurrent(GPU_Target* target, Uint32 windowID);
914914915915-/*! Change the actual size of the current context target's window. */
915915+/*! Change the actual size of the current context target's window. This resets the virtual resolution and viewport of the context target.
916916+ * Aside from direct resolution changes, this should also be called in response to SDL_WINDOWEVENT_RESIZED window events for resizable windows. */
916917Uint8 GPU_SetWindowResolution(Uint16 w, Uint16 h);
917918918919/*! Enable/disable fullscreen mode for the current context target's window.
···928929void GPU_SetShapeBlendMode(GPU_BlendEnum mode);
929930930931/*! Sets the thickness of lines for the current context.
931931- * \param thickness New line thickness in pixels. Default is 1.0f.
932932+ * \param thickness New line thickness in pixels measured across the line. Default is 1.0f.
932933 * \return The old thickness value
933934 */
934935float GPU_SetLineThickness(float thickness);