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

There is no “glTexStorage” function. There is, however:

[ul]
[li]glTexStorage1D[/li][li]glTexStorage2D[/li][li]glTexStorage2DMultisample[/li][li]glTexStorage3D[/li][li]glTexStorage3DMultisample[/li][/ul]

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 ?

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.