From 0cf93f0ca314c999b9fe6c8de429ede6a1a57d01 Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Tue, 09 Apr 2019 02:18:44 +0000
Subject: [PATCH] update to SDL2 2.0.9
---
include/SDL2/SDL_surface.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/include/SDL2/SDL_surface.h b/include/SDL2/SDL_surface.h
index 45e5366..730d49f 100644
--- a/include/SDL2/SDL_surface.h
+++ b/include/SDL2/SDL_surface.h
@@ -249,6 +249,13 @@
int flag, Uint32 key);
/**
+ * \brief Returns whether the surface has a color key
+ *
+ * \return SDL_TRUE if the surface has a color key, or SDL_FALSE if the surface is NULL or has no color key
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasColorKey(SDL_Surface * surface);
+
+/**
* \brief Gets the color key (transparent pixel) in a blittable surface.
*
* \param surface The surface to update
--
Gitblit v1.9.3