2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-08-31 06:15:25 +00:00

Add missing initialization

This commit is contained in:
Romain Vimont
2024-02-29 19:37:05 +01:00
parent bf069bd37b
commit cdf09805c0

View File

@@ -62,6 +62,7 @@ sc_display_init(struct sc_display *display, SDL_Window *window, bool mipmaps) {
LOGD("Trilinear filtering disabled (not an OpenGL renderer)"); LOGD("Trilinear filtering disabled (not an OpenGL renderer)");
} }
display->texture = NULL;
display->pending.flags = 0; display->pending.flags = 0;
display->pending.frame = NULL; display->pending.frame = NULL;