Mercurial > mplayer.hg
comparison libvo/matrixview.c @ 35890:3be8afb83629
Switch back to glClearDepth.
glClearDepthf seems to be missing a least on Windows.
author | reimar |
---|---|
date | Sat, 16 Mar 2013 19:19:40 +0000 |
parents | f464ea910bd2 |
children | 18c289284727 |
comparison
equal
deleted
inserted
replaced
35889:a51578d7e264 | 35890:3be8afb83629 |
---|---|
276 | 276 |
277 // Color to clear color buffer to. | 277 // Color to clear color buffer to. |
278 mpglClearColor(0.0f, 0.0f, 0.0f, 0.0f); | 278 mpglClearColor(0.0f, 0.0f, 0.0f, 0.0f); |
279 | 279 |
280 // Depth to clear depth buffer to; type of test. | 280 // Depth to clear depth buffer to; type of test. |
281 mpglClearDepthf(1.0); | 281 mpglClearDepth(1.0); |
282 mpglDepthFunc(GL_LESS); | 282 mpglDepthFunc(GL_LESS); |
283 | 283 |
284 // Enables Smooth Color Shading; try GL_FLAT for (lack of) fun. | 284 // Enables Smooth Color Shading; try GL_FLAT for (lack of) fun. |
285 mpglShadeModel(GL_SMOOTH); | 285 mpglShadeModel(GL_SMOOTH); |
286 | 286 |