mirror of
https://github.com/encounter/SDL.git
synced 2025-12-16 08:27:05 +00:00
More non C89 compliant comments
This commit is contained in:
@@ -1033,7 +1033,7 @@ D3D_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture,
|
||||
HRESULT result;
|
||||
|
||||
if (data->yuv) {
|
||||
// It's more efficient to upload directly...
|
||||
/* It's more efficient to upload directly... */
|
||||
if (!data->pixels) {
|
||||
data->pitch = texture->w;
|
||||
data->pixels = (Uint8 *)SDL_malloc((texture->h * data->pitch * 3) / 2);
|
||||
|
||||
Reference in New Issue
Block a user