Canvas3D: gl.getString fails



  • As pointed out in this question of mine, I want to figure out what version of ESSL is used by Qt on my PC.

    My code (in the initializeGL handler):

    console.log(gl.getString(gl.SHADING_LANGUAGE_VERSION));
    

    I'm getting the following error:

    TypeError: Property 'getString' of object QtCanvas3D::CanvasContext(0x682d530) is not a function

    Any ideas?

    Notes:

    • I'm using GL ES mode in Qt. But that's not the problem, because ES does have glGetString.
    • Other GL functions and rendering do work.

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.