mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-15 23:17:14 +00:00
libports: fix eglgears example
Thanks to Jamey Sharp for the fix! Fixes #1670
This commit is contained in:
parent
759b9ed1ad
commit
650267b425
@ -1,4 +1,4 @@
|
||||
build {
|
||||
set build_components {
|
||||
core init
|
||||
drivers/timer
|
||||
server/nitpicker server/nit_fb
|
||||
@ -9,6 +9,9 @@ build {
|
||||
}
|
||||
|
||||
source ${genode_dir}/repos/base/run/platform_drv.inc
|
||||
append_platform_drv_build_components
|
||||
|
||||
build $build_components
|
||||
|
||||
create_boot_directory
|
||||
|
||||
|
@ -467,8 +467,10 @@ class Display : public native_display
|
||||
_get_connectors(struct native_display *ndpy,
|
||||
int *num_connectors, int *num_crtcs)
|
||||
{
|
||||
static struct native_connector conn;
|
||||
static const struct native_connector *conn_list[1] = { &conn };
|
||||
static native_connector conn;
|
||||
const native_connector **conn_list =
|
||||
(const native_connector **)malloc(sizeof(native_connector **));
|
||||
conn_list[0] = &conn;
|
||||
printf("called, return 1 connector\n");
|
||||
|
||||
if (num_connectors) *num_connectors = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user