Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed crash in glTexSubImage2D() with testoverlay on Mac OS X.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 29, 2008
1 parent 357c5af commit 254b6bf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/video/SDL_renderer_gl.c
Expand Up @@ -689,8 +689,6 @@ SetupTextureUpdate(GL_RenderData * renderdata, SDL_Texture * texture,
renderdata->glPixelStorei(GL_UNPACK_LSB_FIRST, 0);
}
renderdata->glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
renderdata->glPixelStorei(GL_UNPACK_ROW_LENGTH,
pitch / SDL_BYTESPERPIXEL(texture->format));
}

static int
Expand Down

0 comments on commit 254b6bf

Please sign in to comment.