aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-08-05 13:44:11 +0200
committerSven Gothel <[email protected]>2015-08-05 13:44:11 +0200
commit4ff4f735c421ef343a8c447fa699c01444bd5e9b (patch)
tree12431a179c345b0b89dc65e57a8e78ac4e2b1fc5 /src/jogl/classes/jogamp
parentda1a4cc5bc4a7fda0605709b61a63564b9070378 (diff)
Bug 1183: Handle NULL return values for native RandR13 calls, which suppose to return 'int[]'
Certain native RandR13 functions shall return 'int[]', but will bail out early in case of an error or lack of resources. The latter is true for getMonitorDeviceIds(..) where 'XRRScreenResources->ncrtc <= 0', causing return value NULL. This patch handles the NULL return values, however, the root cause of having 'XRRScreenResources->ncrtc <= 0' _occasionally_ lies within the Raspi X11 driver I am afraid?!
Diffstat (limited to 'src/jogl/classes/jogamp')
0 files changed, 0 insertions, 0 deletions