Removed old function
authorSam Lantinga
Sat, 05 Aug 2006 17:12:22 +0000
changeset 19666472256c21eb
parent 1965 a788656ca29a
child 1967 01e29c3e9a29
Removed old function
include/SDL_video.h
     1.1 --- a/include/SDL_video.h	Sat Aug 05 17:09:42 2006 +0000
     1.2 +++ b/include/SDL_video.h	Sat Aug 05 17:12:22 2006 +0000
     1.3 @@ -948,7 +948,7 @@
     1.4   *
     1.5   * \brief Query the pixels of a texture, if the texture does not need to be locked for pixel access.
     1.6   *
     1.7 - * \param texture A texture to be queried, which was created with SDL_TextureAccess_Local
     1.8 + * \param texture A texture to be queried, which was created with SDL_TEXTUREACCESS_LOCAL
     1.9   * \param pixels A pointer filled with a pointer to the pixels for the texture 
    1.10   * \param pitch A pointer filled in with the pitch of the pixel data
    1.11   *
    1.12 @@ -1003,7 +1003,7 @@
    1.13   *
    1.14   * \return 0 on success, or -1 if the texture is not valid
    1.15   *
    1.16 - * \note This is a very slow function for textures not created with SDL_TextureAccess_Local.
    1.17 + * \note This is a very slow function for textures not created with SDL_TEXTUREACCESS_LOCAL.
    1.18   */
    1.19  extern DECLSPEC int SDLCALL SDL_UpdateTexture(SDL_TextureID textureID,
    1.20                                                const SDL_Rect * rect,
    1.21 @@ -1014,13 +1014,13 @@
    1.22   *
    1.23   * \brief Lock a portion of the texture for pixel access.
    1.24   *
    1.25 - * \param texture The texture to lock for access, which must have been created with SDL_TextureAccess_Local.
    1.26 + * \param texture The texture to lock for access, which must have been created with SDL_TEXTUREACCESS_LOCAL.
    1.27   * \param rect A pointer to the rectangle to lock for access. If the rect is NULL, the entire texture will be locked.
    1.28   * \param markDirty If this is nonzero, the locked area will be marked dirty when the texture is unlocked.
    1.29   * \param pixels This is filled in with a pointer to the locked pixels, appropriately offset by the locked area.
    1.30   * \param pitch This is filled in with the pitch of the locked pixels.
    1.31   *
    1.32 - * \return 0 on success, or -1 if the texture is not valid or was created with SDL_TextureAccess_Remote
    1.33 + * \return 0 on success, or -1 if the texture is not valid or was created with SDL_TEXTUREACCESS_REMOTe
    1.34   *
    1.35   * \sa SDL_DirtyTexture()
    1.36   * \sa SDL_UnlockTexture()
    1.37 @@ -1045,7 +1045,7 @@
    1.38   *
    1.39   * \brief Mark the specified rectangles of the texture as dirty.
    1.40   *
    1.41 - * \note The texture must have been created with SDL_TextureAccess_Local.
    1.42 + * \note The texture must have been created with SDL_TEXTUREACCESS_LOCAL.
    1.43   *
    1.44   * \sa SDL_LockTexture()
    1.45   * \sa SDL_UnlockTexture()
    1.46 @@ -1055,15 +1055,6 @@
    1.47                                                const SDL_Rect * rects);
    1.48  
    1.49  /**
    1.50 - * \fn void SDL_SelectRenderTexture(SDL_TextureID textureID)
    1.51 - *
    1.52 - * \brief Select a texture as the rendering target, or 0 to reselect the current window.
    1.53 - *
    1.54 - * \note The texture must have been created with SDL_TextureAccess_Render.
    1.55 - */
    1.56 -extern DECLSPEC void SDLCALL SDL_SelectRenderTexture(SDL_TextureID textureID);
    1.57 -
    1.58 -/**
    1.59   * \fn void SDL_RenderFill(const SDL_Rect *rect, Uint32 color)
    1.60   *
    1.61   * \brief Fill the current rendering target with the specified color.