summaryrefslogtreecommitdiff
path: root/include/SDL_render.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2011-02-01 21:23:43 -0800
committerSam Lantinga <slouken@libsdl.org>2011-02-01 21:23:43 -0800
commit09a855889726f1097955a4a9efa8e84caff234ff (patch)
tree055d4b54595cdbadb6ac6938728e8d10c9518836 /include/SDL_render.h
parentb4fff42fc6d02819c333af18555982ca39098569 (diff)
Making the API simpler, removed support for palettized video modes and textures.
Diffstat (limited to 'include/SDL_render.h')
-rw-r--r--include/SDL_render.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/include/SDL_render.h b/include/SDL_render.h
index 7696042a..8fe86239 100644
--- a/include/SDL_render.h
+++ b/include/SDL_render.h
@@ -220,38 +220,6 @@ extern DECLSPEC int SDLCALL SDL_QueryTexturePixels(SDL_Texture * texture,
void **pixels, int *pitch);
/**
- * \brief Set the color palette of an indexed texture.
- *
- * \param texture The texture to update.
- * \param colors The array of RGB color data.
- * \param firstcolor The first index to update.
- * \param ncolors The number of palette entries to fill with the color data.
- *
- * \return 0 on success, or -1 if the texture is not valid or not an indexed
- * texture.
- */
-extern DECLSPEC int SDLCALL SDL_SetTexturePalette(SDL_Texture * texture,
- const SDL_Color * colors,
- int firstcolor,
- int ncolors);
-
-/**
- * \brief Get the color palette from an indexed texture if it has one.
- *
- * \param texture The texture to update.
- * \param colors The array to fill with RGB color data.
- * \param firstcolor The first index to retrieve.
- * \param ncolors The number of palette entries to retrieve.
- *
- * \return 0 on success, or -1 if the texture is not valid or not an indexed
- * texture.
- */
-extern DECLSPEC int SDLCALL SDL_GetTexturePalette(SDL_Texture * texture,
- SDL_Color * colors,
- int firstcolor,
- int ncolors);
-
-/**
* \brief Set an additional color value used in render copy operations.
*
* \param texture The texture to update.