GpuSharedParameters getDoublePointer typo

Minor issues with the Ogre API that can be trivial to fix
Post Reply
dermont
Orc Shaman
Posts: 772
Joined: Thu Dec 09, 2004 2:51 am
x 8

GpuSharedParameters getDoublePointer typo

Post by dermont » Tue Apr 23, 2013 10:31 am

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"
0 x

User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
Contact:

Re: GpuSharedParameters getDoublePointer typo

Post by masterfalcon » Tue Apr 23, 2013 4:20 pm

My, that's embarrassing. Thanks for pointing that out!
0 x

Post Reply