From 3a4830700245a4921f656b247cf8f693e9496198 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Mon, 2 Oct 2017 16:29:21 +0200 Subject: [PATCH] modtrezorui/unix: fix 43e8b85 --- embed/extmod/modtrezorui/display-unix.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/embed/extmod/modtrezorui/display-unix.h b/embed/extmod/modtrezorui/display-unix.h index 6fdb9b4a..cc14e569 100644 --- a/embed/extmod/modtrezorui/display-unix.h +++ b/embed/extmod/modtrezorui/display-unix.h @@ -61,6 +61,9 @@ int display_init(void) TEXTURE = SDL_CreateTexture(RENDERER, SDL_PIXELFORMAT_RGB565, SDL_TEXTUREACCESS_STREAMING, DISPLAY_RESX, DISPLAY_RESY); SDL_SetTextureBlendMode(TEXTURE, SDL_BLENDMODE_NONE); SDL_SetTextureAlphaMod(TEXTURE, 0); + + DISPLAY_BACKLIGHT = 0; + DISPLAY_ORIENTATION = 0; #endif return 0; }