kopia lustrzana https://github.com/hoglet67/RGBtoHDMI
Fix misses palette change when OSD cleared (in non DEBUG mode)
Change-Id: I9c2e740549db22d347a79cc2d0b4fc07035d7e54pull/28/head
rodzic
2c29a22117
commit
b0cc71ccbd
|
@ -9,6 +9,7 @@
|
|||
#include "logging.h"
|
||||
#include "osd.h"
|
||||
#include "rpi-gpio.h"
|
||||
#include "rpi-mailbox.h"
|
||||
#include "rpi-mailbox-interface.h"
|
||||
#include "saa5050_font.h"
|
||||
|
||||
|
@ -207,6 +208,8 @@ uint32_t *osd_get_palette() {
|
|||
}
|
||||
|
||||
static void update_palette() {
|
||||
// Flush the previous swapBuffer() response from the GPU->ARM mailbox
|
||||
RPI_Mailbox0Flush( MB0_TAGS_ARM_TO_VC );
|
||||
RPI_PropertyInit();
|
||||
RPI_PropertyAddTag( TAG_SET_PALETTE, osd_get_palette());
|
||||
RPI_PropertyProcess();
|
||||
|
|
Ładowanie…
Reference in New Issue