GpuSharedParameters getDoublePointer typo

Minor issues with the Ogre API that can be trivial to fix
Post Reply
dermont
Bugbear
Posts: 812
Joined: Thu Dec 09, 2004 2:51 am
x 42

GpuSharedParameters getDoublePointer typo

Post 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"
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: GpuSharedParameters getDoublePointer typo

Post by masterfalcon »

My, that's embarrassing. Thanks for pointing that out!
Post Reply