summaryrefslogtreecommitdiffstats
path: root/src/newt/native/gbm.c
diff options
context:
space:
mode:
authorXerxes RĂ„nby <[email protected]>2019-09-11 23:03:33 +0200
committerSven Gothel <[email protected]>2019-11-21 03:58:57 +0100
commit10d3ba66b725fb44dc2c646c9ddc9816a4d72777 (patch)
tree7b63f20c3396a76d54b82f79594967e1bf85cc57 /src/newt/native/gbm.c
parente1161a3773a35fdb7d94eb5263b1ab9a85e565fb (diff)
gbm/WindowDriver: make it compile and link
Diffstat (limited to 'src/newt/native/gbm.c')
-rw-r--r--src/newt/native/gbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/native/gbm.c b/src/newt/native/gbm.c
index cdb1223f6..927faa47e 100644
--- a/src/newt/native/gbm.c
+++ b/src/newt/native/gbm.c
@@ -41,7 +41,7 @@ JNIEXPORT jlong JNICALL Java_jogamp_newt_driver_gbm_DisplayDriver_initGbm
drmModeEncoder *encoder = NULL;
int i, area;
- for (i = 0; i < ARRAY_SIZE(modules); i++) {
+ for (i = 0; i < 6 /* ARRAY_SIZE(modules) */; i++) {
printf("trying to load module %s...", modules[i]);
drm.fd = drmOpen(modules[i], NULL);
if (drm.fd < 0) {