Commit Graph

13855 Commits

Author SHA1 Message Date
Robert Osfield
1f73376476 Restructed the GLExtensions(..) constructor so that it now intializes all the variables to NULL if there is not a valid graphics context present 2016-06-23 12:19:59 +01:00
Robert Osfield
bc8452512f Added initializers and handling of null case 2016-06-23 11:03:38 +01:00
Robert Osfield
79f174aee4 Fixed return value 2016-06-23 10:52:16 +01:00
Robert Osfield
55b3becb7c Restructured to avoid NULL reference 2016-06-23 10:50:25 +01:00
Robert Osfield
5e73f0bb35 Removed dead code 2016-06-23 10:45:48 +01:00
Robert Osfield
46750d6b17 Removed dead code 2016-06-23 10:41:58 +01:00
Robert Osfield
e044fa0d70 Added handling of return value 2016-06-23 10:06:12 +01:00
Robert Osfield
57b999b310 Fixed check against null 2016-06-23 10:05:50 +01:00
Robert Osfield
07b6016c61 Added handling of return values 2016-06-23 10:01:19 +01:00
Robert Osfield
818843a6b6 Restructed the handling of a null compressor 2016-06-23 09:05:51 +01:00
Robert Osfield
1e4ea646ce Removed dead code 2016-06-23 08:55:52 +01:00
Robert Osfield
552c9b037f Moved initializer to constructors 2016-06-23 08:53:46 +01:00
Robert Osfield
ff3570bfa5 Added handling of return value 2016-06-23 08:53:14 +01:00
Robert Osfield
55d0e6918d Moved intializers into constructor. 2016-06-23 08:41:47 +01:00
Robert Osfield
954f782807 Added missing handling of return value 2016-06-23 08:28:25 +01:00
Robert Osfield
f197dd22cd Fixed possible divide by zero 2016-06-23 08:23:32 +01:00
Robert Osfield
12a81b656b Removed dead code 2016-06-23 08:20:27 +01:00
Robert Osfield
5fdf9829bb Removed dead code 2016-06-23 07:52:14 +01:00
Robert Osfield
14805dc8b9 Restructed setting of vertex array to avoid possible reference of null 2016-06-23 07:47:40 +01:00
Robert Osfield
20d1e4c9c5 Added initializer 2016-06-23 06:56:22 +01:00
Robert Osfield
1b6cc8e6b6 Added checks against null pointers and removed #if 0 block. 2016-06-23 06:51:34 +01:00
Robert Osfield
25e04b8463 Fixed typo 2016-06-22 15:53:37 +01:00
OpenSceneGraph git repository
55270779bf Merge pull request #87 from aluaces/patch-1
Fixed indentation for code snippet
2016-06-22 12:28:58 +01:00
Robert Osfield
2e65d37ddb Added missing initializer 2016-06-22 12:24:23 +01:00
Robert Osfield
c6378de489 Fixed loop for the wrong counter increment 2016-06-22 12:22:19 +01:00
Robert Osfield
5955d362a6 Added initializer 2016-06-22 12:10:49 +01:00
Robert Osfield
a5ec8b7eda Added initializers 2016-06-22 12:08:10 +01:00
Robert Osfield
1d7f75c490 Added initializer 2016-06-22 12:03:10 +01:00
Robert Osfield
f2704e0bf3 Removed dead code 2016-06-22 11:58:45 +01:00
Robert Osfield
f7afd3bab2 Added initializer 2016-06-22 11:51:04 +01:00
Robert Osfield
acaf9fd720 Added initializer 2016-06-22 11:48:30 +01:00
Robert Osfield
97acecdf66 Added initializer 2016-06-22 11:41:58 +01:00
Robert Osfield
8a83bd73bb Added missing initializers 2016-06-22 11:39:11 +01:00
Robert Osfield
471e556e91 Added initializers 2016-06-22 11:27:15 +01:00
Robert Osfield
67cc776696 Added default_value() template to help with creating templates that need to initialize members that are floats etc. 2016-06-22 11:26:11 +01:00
Robert Osfield
d5f18590fd Added intializers 2016-06-22 10:35:37 +01:00
Robert Osfield
9bebe4c607 Added initializers 2016-06-22 09:49:27 +01:00
Robert Osfield
0f8e09bde2 Removed info comment 2016-06-22 09:37:51 +01:00
Robert Osfield
9f4d123fff Fixed null termination 2016-06-22 09:33:18 +01:00
Robert Osfield
03b6cb024e Added initializers in case ply_get_element() doesn't overwrite the values. 2016-06-22 09:24:44 +01:00
Robert Osfield
011d60ec03 Fixed memory leak. 2016-06-21 17:04:22 +01:00
Robert Osfield
17bd80329a Fixed line endings 2016-06-21 17:03:33 +01:00
Robert Osfield
e64e70870d Changed the pointer arithmetic to be more explict and readable. 2016-06-21 11:45:19 +01:00
Alberto Luaces
bbbcdaf49a Fixed indentation for code snippet
Due to incorrect indentation, the code snippet was not being formatted correctly as code.
2016-06-21 11:23:33 +02:00
Robert Osfield
072eace1bf Removed the osgviewerGLUT as GLUT is terrible example of how to build a modern 3D graphics application. 2016-06-21 09:21:45 +01:00
Robert Osfield
7fedcad075 Reverted to C style for loop initialization 2016-06-21 08:14:00 +01:00
Robert Osfield
51b246d63a Fixed COVERITY reported overflow defect. 2016-06-20 19:06:01 +01:00
Robert Osfield
a185c2778f Restructed copy to avoid pointer artithmetic when only single float is being used to avoid Coverity reported defect. 2016-06-20 17:59:52 +01:00
Robert Osfield
04d387eecf Fixed line endings 2016-06-20 17:57:41 +01:00
Robert Osfield
26aa519803 Added string termination 2016-06-20 17:39:57 +01:00