- Timestamp:
- 08/21/08 16:31:03 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/FrameBufferObject.cpp
r2857 r2859 132 132 133 133 134 ColorBufferObject *FrameBufferObject::AddColorBuffer(ColorBufferObject::FORMAT col,135 136 137 138 134 int FrameBufferObject::AddColorBuffer(ColorBufferObject::FORMAT col, 135 ColorBufferObject::WRAP_TYPE wrapType, 136 ColorBufferObject::FILTER_TYPE filterType, 137 bool useMipMap, 138 bool useMultiSampling) 139 139 { 140 140 ColorBufferObject *colorBuf = … … 142 142 mColorBuffers.push_back(colorBuf); 143 143 144 return colorBuf;144 return (int)mColorBuffers.size() - 1; 145 145 } 146 146 147 147 148 } // namespace
Note: See TracChangeset
for help on using the changeset viewer.