no message

This commit is contained in:
BADIM-PC\Vadim committed 2017-11-30 13:10:20 +03:00
1 parent f578428381
commit e3ad17f609
7 files changed
+46 -25

No files matched your search

+1 -1
View File
@@ -142,7 +142,7 @@ int main(int argc, char **argv)
void* pixels = NULL;
int pitch = 0;
SDL_LockTexture(texture, NULL, &pixels, &pitch);
SDL_memcpy(pixels, tic->screen, sizeof tic->screen);
SDL_memcpy(pixels, tic->screen, TIC80_FULLWIDTH * TIC80_FULLHEIGHT);
SDL_UnlockTexture(texture);
SDL_RenderCopy(renderer, texture, NULL, NULL);
}