From 9cd2e9ec8fc0127393dfce9c0359d500c8c238be Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Tue, 09 Apr 2019 02:22:50 +0000
Subject: [PATCH] updae source to 2.0.9 source
---
source/include/SDL_surface.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/source/include/SDL_surface.h b/source/include/SDL_surface.h
index 45e5366..730d49f 100644
--- a/source/include/SDL_surface.h
+++ b/source/include/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