Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8731495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:15:14+00:00 2026-06-13T09:15:14+00:00

I am using OpenGL ES 1.1 with the NDK and occasionally when I call

  • 0

I am using OpenGL ES 1.1 with the NDK and occasionally when I call glGenTextures it does not change the value of name holder that I pass in (doesn’t even set it to 0).

  • glGetError returns 0, no error.
  • All GL code is in a JNI method called from onDrawFrame of the surface renderer so the context shouldn’t be a problem. (edit: this was a wrong assumption and was the cause of the problem)
  • The code works in some cases and not others. If I repeat the call each frame it works after about 5 tries. (I am generating glyphs on request).
  • The first lot of textures get created up to at least #32 but after that it is hit and miss.

Does anyone know of a reason why glGenTextures would appear to do nothing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:15:15+00:00Added an answer on June 13, 2026 at 9:15 am

    Is glGenTextures called with a valid OpenGL(-ES) context being active? If you’re using multiple threads: A OpenGL(-ES) context can be active in only one thread at a time. But each thread may have a different context active.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using OpenGL ES I am rendering a simple cube class that draws it at
Ahoy, I'm working on an OpenGL ES based game for Android using the NDK.
Im using OpenGL for an app that im trying to make. I've been learning
I am trying to display an image using OpenGL ES through android NDK.. What
Can i test opengl es 2.0 (im using ndk ) without using physical handset
Using OpenGL ES 2.0 on iOS 4 . I have an OpenGL view that
I'm using OpenGL and I need to pass to a function array of bytes.
I've started using OpenGL a while ago, using GLUT. You can't pass member functions
I'm writing a rendering routine in C using opengl es 2.0 with NDK. I'm
I am using OpenGL to render a model of an object that is rotationally-symmetric

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.