Untitled attachment
https://media.clubcyberia.co/pleroma/d021c70b95606a6bc3098cf511d7d3d2cbce770436407979aaa81318e81de52a.png
According to the OpenGL documentation, glGetTextureSubImage accepts the following pixel formats: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, GL_STENCIL_INDEX. In reality it requires you to specify GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER if you're using an integer (not char/byte) texture.
This may or may not be a bug in mesa.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.