Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: GLEW says about nothing is supported

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2014
    Posts
    19

    GLEW says about nothing is supported

    Hello.

    I'm using GLEW to get extensions, but nothing is supported allegedly.

    C(++):
    Code :
    	void checkExtensions() {
    		std::cout << "GLEW_ARB_vertex_buffer_object is " << (GLEW_ARB_vertex_buffer_object ? "" : "not") << " supported." << std::endl;
    		std::cout << "GLEW_ARB_draw_buffers is " << (GLEW_ARB_draw_buffers ? "" : "not") << " supported." << std::endl;
    		std::cout << "GLEW_ARB_compute_shader is " << (GLEW_ARB_compute_shader ? "" : "not") << " supported." << std::endl;
    		std::cout << "GLEW_ARB_fragment_shader is " << (GLEW_ARB_fragment_shader ? "" : "not") << " supported." << std::endl;
    	}

    None of those is true. Got a GeForce GT540M in here. That IS a graphics card no? lol. Using SFML and tried GL versions of 3.0 up to 4.3.

    Thanks for any help.

    EDIT: I am an idiot and tried to init GLEW before context creation. Fixed now.
    Last edited by Zylzyl; 01-01-2014 at 11:31 AM.

  2. #2
    Intern Newbie
    Join Date
    Dec 2013
    Posts
    45
    Did you do:
    Code :
    glewExperimental = GL_TRUE;
    before calling glewInit?

    Also, you shouldn't need ARB_vertex_buffer_object, ARB_fragment_shader, or ARB_draw_buffers if you are using any modern version of OpenGL, they have been core for a while. ARB_compute_shader is a different matter, but you don't need it if you are using OpenGL 4.3 or above, since it became core in 4.3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •