Blender Git Commit Log

Git Commits -> Revision 7fd107b

Revision 7fd107b by Jason Wilkins (soc-2014-viewport_fx)
June 25, 2014, 15:55 (GMT)
Using 0 as an error sentinel for the swap interval is not strictly correct.

0 is a valid value for a swap interval and different users of getSwapInterval may want to substitute different values if the swap interval cannot be read.

This commit changes the prototype to: GHOST_TSuccess getSwapInterval(int& intervalOut)

Users of the function should either check the return value or set intervalOut to a default value before calling getSwapInterval.

Commit Details:

Full Hash: 7fd107b320a779554beed2ec2d119290b0a9e3a4
Parent Commit: ebe8935
Lines Changed: +81, -55

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019