BBBsmoke / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

ResourceManager will happily re-allocate reserved handles #942

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. glBindTexture(GL_TEXTURE_2D, 1)
2. glGenTextures(1, &handle)
3. ASSERT(handle != 1)

We should use a more intelligent scheme for reserving some handles with 
implicit creation.

Original issue reported on code.google.com by jmad...@chromium.org on 10 Mar 2015 at 4:36

GoogleCodeExporter commented 9 years ago

Original comment by jmad...@chromium.org on 11 Mar 2015 at 3:35