Commit a3b6c0ef authored by Laszlo Agocs's avatar Laszlo Agocs Committed by Pasi Keränen
Browse files

Warn and bail out when create or makeCurrent fails during init


Return null from getContext when this happens. These two places are
candidates for failing. Also warn so we have a chance to see where
we fail.

Change-Id: I6a5c8c1d229b16d8c0d9705d4595b40022540aaf
Reviewed-by: default avatarPasi Keränen <pasi.keranen@digia.com>
Showing with 8 additions and 2 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment