Fixed small #if/#ifdef typo. Also fixed formatting error in strings.xml
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user