glcontext: correct precondition for get_gl_version
authorMatthew Waters <matthew@centricular.com>
Tue, 28 Jun 2016 03:02:32 +0000 (13:02 +1000)
committerMatthew Waters <matthew@centricular.com>
Wed, 29 Jun 2016 08:04:28 +0000 (18:04 +1000)
commitb9cdc9d4b0c115f51253b16665240577b1f81e5e
tree194164981e675671c16c5b6c8b6941c0e46150fd
parentdea792292e17ddf655dc41366a712d748a7ae4b6
glcontext: correct precondition for get_gl_version

The intention was to assert if both maj and min were NULL (as there would be no
point calling the function).  Instead if either maj or min were NULL, the assert
would occur.

Fix that.
gst-libs/gst/gl/gstglcontext.c