Changeset 37383 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/render
- Timestamp:
- Jun 8, 2011 2:53:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m
r37382 r37383 948 948 * others are also valid, but might incur a costly software translation. */ 949 949 glBindTexture(GL_TEXTURE_RECTANGLE_ARB, m_FBOTexBackId); 950 glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGB A, m_FBOTexSize.width, m_FBOTexSize.height, 0, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, NULL);950 glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGB, m_FBOTexSize.width, m_FBOTexSize.height, 0, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, NULL); 951 951 glBindTexture(GL_TEXTURE_RECTANGLE_ARB, m_FBOTexFrontId); 952 glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGB A, m_FBOTexSize.width, m_FBOTexSize.height, 0, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, NULL);952 glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGB, m_FBOTexSize.width, m_FBOTexSize.height, 0, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, NULL); 953 953 954 954 /* Now attach the textures to the FBO as its color destinations */
Note:
See TracChangeset
for help on using the changeset viewer.