Results 1 to 4 of 4

Thread: glTexStorage - was not declared in this scope

  1. #1
    Senior Member Regular Contributor
    Join Date
    May 2012
    Posts
    145

    glTexStorage - was not declared in this scope

    I have the OpenGL driver 4.3 , but i am having the above error with the glTexStorage command.

    I am using glew to access the opengl extensions

    What am i missing in the process ?


    Thanks

  2. #2
    Senior Member Regular Contributor Agent D's Avatar
    Join Date
    Sep 2011
    Location
    Innsbruck, Austria
    Posts
    281

  3. #3
    Senior Member Regular Contributor
    Join Date
    May 2012
    Posts
    145
    Sorry for the typo . "glTexStorage2D" is giving me the error.

    So i am rolling back to glTexImage2D.

    I am using the OpenGL 4.3 core profile


    Any more hint ?

  4. #4
    Newbie OpenGL Pro
    Join Date
    Jan 2007
    Posts
    1,789
    What version of GLEW are you using? If it's an older one it may not have the glTexStorage* entry points at all, so this might be expected behaviour that's resolved by just upgrading your GLEW.

Similar Threads

  1. error: ‘glGenBuffers’ was not declared in this scope
    By colagl in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-28-2016, 02:17 AM
  2. 'glMapBuffer' was not declared in this scope
    By saman_artorious in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 06-26-2013, 04:41 AM
  3. GLT_ATTRIBUTE_COLOR was not declared in this scope
    By bcthund in forum OpenGL: GLSL
    Replies: 0
    Last Post: 11-11-2010, 05:37 PM
  4. glGenBuffers’ was not declared in this scope
    By mikethebike in forum OpenGL: Linux
    Replies: 1
    Last Post: 11-30-2009, 10:04 AM
  5. popup menu callback not declared in the scope
    By true_atlantis in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-03-2005, 04:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean