Fixed warnings about unused variables and so forth.
This commit is contained in:
parent
30d36c1c80
commit
7fda55f8d4
5 changed files with 1 additions and 8 deletions
|
@ -401,7 +401,6 @@ SDL_SendTouchMotion(SDL_TouchID id, SDL_FingerID fingerid, int relative,
|
|||
SDL_Finger *finger;
|
||||
int posted;
|
||||
Sint16 xrel, yrel;
|
||||
float x_max = 0, y_max = 0;
|
||||
Uint16 x;
|
||||
Uint16 y;
|
||||
Uint16 pressure;
|
||||
|
|
|
@ -161,8 +161,6 @@ GLES2_ActivateRenderer(SDL_Renderer * renderer)
|
|||
static void
|
||||
GLES2_WindowEvent(SDL_Renderer * renderer, const SDL_WindowEvent *event)
|
||||
{
|
||||
GLES2_DriverContext *rdata = (GLES2_DriverContext *)renderer->driverdata;
|
||||
|
||||
if (event->event == SDL_WINDOWEVENT_SIZE_CHANGED) {
|
||||
/* Rebind the context to the window area */
|
||||
SDL_CurrentContext = NULL;
|
||||
|
@ -232,7 +230,6 @@ static int GLES2_UpdateTexture(SDL_Renderer *renderer, SDL_Texture *texture, con
|
|||
static int
|
||||
GLES2_CreateTexture(SDL_Renderer *renderer, SDL_Texture *texture)
|
||||
{
|
||||
GLES2_DriverContext *rdata = (GLES2_DriverContext *)renderer->driverdata;
|
||||
GLES2_TextureData *tdata;
|
||||
GLenum format;
|
||||
GLenum type;
|
||||
|
@ -995,7 +992,6 @@ GLES2_RenderCopy(SDL_Renderer *renderer, SDL_Texture *texture, const SDL_Rect *s
|
|||
GLfloat texCoords[8];
|
||||
GLuint locTexture;
|
||||
GLuint locModulation;
|
||||
GLuint locColorTable;
|
||||
|
||||
GLES2_ActivateRenderer(renderer);
|
||||
|
||||
|
|
|
@ -511,7 +511,6 @@ SW_RenderReadPixels(SDL_Renderer * renderer, const SDL_Rect * rect,
|
|||
static void
|
||||
SW_RenderPresent(SDL_Renderer * renderer)
|
||||
{
|
||||
SW_RenderData *data = (SW_RenderData *) renderer->driverdata;
|
||||
SDL_Window *window = renderer->window;
|
||||
|
||||
if (window) {
|
||||
|
|
|
@ -476,7 +476,6 @@ Blit1toNAlphaKey(SDL_BlitInfo * info)
|
|||
int srcskip = info->src_skip;
|
||||
Uint8 *dst = info->dst;
|
||||
int dstskip = info->dst_skip;
|
||||
SDL_PixelFormat *srcfmt = info->src_fmt;
|
||||
SDL_PixelFormat *dstfmt = info->dst_fmt;
|
||||
const SDL_Color *srcpal = info->src_fmt->palette->colors;
|
||||
Uint32 ckey = info->colorkey;
|
||||
|
|
|
@ -53,7 +53,7 @@ int main(int argc, char **argv) {
|
|||
UIApplicationMain(argc, argv, NULL, @"SDLUIKitDelegate");
|
||||
|
||||
[pool release];
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@implementation SDLUIKitDelegate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue