Page 1 of 1

GpuSharedParameters getDoublePointer typo

Posted: Tue Apr 23, 2013 10:31 am
by dermont
Whilst updating/building python-ogre for Ogre1.9 I came across the following with OgreGpuProgramParams.h and GpuSharedParameters

Code: Select all

https://bitbucket.org/sinbad/ogre/src/04103374957963510ce4b4c8fb3a801d8029dba6/OgreMain/include/OgreGpuProgramParams.h?at=v1-9

/// Get a pointer to the 'nth' item in the double buffer
double* geDoublePointer(size_t pos) { _markDirty(); return &mDoubleConstants[pos]; }
Is the above just a typo and should be "getDoublePointer" instead of "geDoublePointer"

Re: GpuSharedParameters getDoublePointer typo

Posted: Tue Apr 23, 2013 4:20 pm
by masterfalcon
My, that's embarrassing. Thanks for pointing that out!