glGenTextures() gives 0

Hello,

I want to make a texture only when I call glGenTextures(); it gives me zero. So no texture is generated. What can i do?

you can create and activate a render context.