I am able to use hdmi and usb display at the same time, both show rotating cube.
however there are significant colour differences,
background glClearColor(1.0f, 0.0f, 0.0f, 1.0f) is red on hdmi, blue on usb display
Lucca_128_128.raw has blue background on hdmi, on usb display.
anyone able to hint on solution?
a few comments on 'full source':
http://www.raspberrypi.org/forums/viewt ... 78#p557978
the extra files (.raw,.h) needed are on RPi here:
I edited a little further for RoboPeak usb display,
and believe output runs smoother/faster:
Code: Select all
static int screen_width = 320; static int screen_height = 210; EGL_RED_SIZE, 5, EGL_GREEN_SIZE, 6, EGL_BLUE_SIZE, 5, EGL_ALPHA_SIZE, 0, // replace eglChooseConfig( result = eglSaneChooseConfigBRCM( state->screen_width = 320; state->screen_height = 210; // strong blue, so we know we have colour glClearColor(1.0f, 0.0f, 0.0f, 1.0f);