Changeset 72974
- Timestamp:
- Jul 10, 2018, 6:15:40 PM (6 years ago)
- File:
-
- 1 edited
-
grass/trunk/lib/ogsf/gsd_prim.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
grass/trunk/lib/ogsf/gsd_prim.c
r72971 r72974 411 411 \brief Set shaded model 412 412 413 \param bool type non-zero for GL_SMOOTH otherwise GL_FLAT414 */ 415 void gsd_shademodel(int bool)416 { 417 Shade = bool;418 419 if ( bool) {413 \param shade non-zero for GL_SMOOTH otherwise GL_FLAT 414 */ 415 void gsd_shademodel(int shade) 416 { 417 Shade = shade; 418 419 if (shade) { 420 420 glShadeModel(GL_SMOOTH); 421 421 } … … 438 438 439 439 /*! 440 \brief ADD440 \brief Draw to the front and back buffers 441 441 */ 442 442 void gsd_bothbuffers(void) … … 449 449 450 450 /*! 451 \brief Specify which color buffers are to be drawn 452 into 453 454 \param bool non-zero for enable otherwise disable front buffer 451 \brief Draw to the front buffer 455 452 */ 456 453 void gsd_frontbuffer(void) … … 463 460 464 461 /*! 465 \brief Specify which color buffers are to be drawn 466 into 467 468 \param bool non-zero for enable otherwise disable back buffer 462 \brief Draw to the back buffer 469 463 */ 470 464 void gsd_backbuffer(void)
Note:
See TracChangeset
for help on using the changeset viewer.
