GpuSharedParameters getDoublePointer typo

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

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

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

Re: GpuSharedParameters getDoublePointer typo

Post by masterfalcon »

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

Post Reply