cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

pochi
Journeyman III

OpenGL:glBitmap depth cannot disable.

When we use glDepthRange(0.0, 0.0), depth of 1st glBitmap function cannot disable with a Radeon R7 250. Depth of 2nd glBitmap function is disable. I would like to know how to disable 1st  glBitmap too.

glDepthFunc(GL_LEQUAL);

glEnable(GL_DEPTH_TEST);

glDepthMask(GL_TRUE);

glPixelStoref(GL_UNPACK_ALIGNMENT, 1);

glRasterPos3fv(vec);

// Draw Bitmap (1st)

glDepthRange(0.0, 0.0);

glPixelStoref(GL_UNPACK_ALIGNMENT, 1);

glRasterPos3fv(vec);

glBitmap(16, 16, 8.0f, 8.0f, 10.0f, 0.0f, bitmapCircle16);

glDepthRange(0.0, 1.0);

// Draw Bitmap (2nd)

glDepthRange(0.0, 0.0);

glBitmap(16, 16, 8.0f, 8.0f, 10.0f, 0.0f, bitmapCircle16);

glDepthRange(0.0, 1.0);

0 Likes
8 Replies
dwitczak
Staff

Thank you for your report. Could you provide a simple application which reproduces the issue you're seeing so that our GL team can investigate this problem? Thanks.

0 Likes

Thank you for your reply.

Please confirm the attached file.

0 Likes

Can you update me on this problem?

0 Likes

pochi​ , we will investigate this problem.

0 Likes

Hello, pochi​, are you seeing the same problem with recent drivers? If yes, could you also share your source code with us ?

0 Likes

I'm trying software version 18.7.1 and I'm seeing a worse problem.

All bitmap can't be seeing.Please confirm the attached file.

0 Likes

Thanks, we will investigate the problem, thanks.

--

Best Regards

Shimmer Huang

0 Likes

Hello, Xhuang

Thank you for your reply.

I shared my source code on Community.

Thanks

0 Likes