Fixed small #if/#ifdef typo. Also fixed formatting error in strings.xml

This commit is contained in:
Shyotl
2012-11-12 00:12:39 -06:00
parent 0a4b3487ea
commit f25ca2ac80
2 changed files with 8 additions and 8 deletions

View File

@@ -2086,7 +2086,7 @@ void LLVertexBuffer::flush()
// bind for transform feedback (quick 'n dirty)
void LLVertexBuffer::bindForFeedback(U32 channel, U32 type, U32 index, U32 count)
{
#if GL_TRANSFORM_FEEDBACK_BUFFER
#ifdef GL_TRANSFORM_FEEDBACK_BUFFER
U32 offset = mOffsets[type] + sTypeSize[type]*index;
U32 size= (sTypeSize[type]*count);
glBindBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, channel, mGLBuffer, offset, size);