<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - ARB_copy_image breaks recording with obs-studio"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92907#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - ARB_copy_image breaks recording with obs-studio"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92907">bug 92907</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>OK, so the issue is coming from
70518 glCopyImageSubData(srcName = 9, srcTarget = GL_TEXTURE_2D, srcLevel = 0,
srcX = 0, srcY = 0, srcZ = 0, dstName = 8, dstTarget = GL_TEXTURE_2D, dstLevel
= 0, dstX = 0, dstY = 0, dstZ = 0, srcWidth = 1920, srcHeight = 31, srcDepth =
1)
We error out complaining that the internal formats don't match.
Texture 9:
70257 glBindTexture(target = GL_TEXTURE_2D, texture = 9)
70258 glXBindTexImageEXT(display = 0x210df00, drawable = 69206018, buffer =
GLX_FRONT_LEFT_EXT, attrib_list = {})
70259 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_RGB,
width = 1920, height = 31, border =
0, format = GL_RGBA, type = GL_UNSIGNED_BYTE, pixels = blob(238080))
Texture 8:
70244 glBindTexture(target = GL_TEXTURE_2D, texture = 8)
70246 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_RGBA,
width = 1920, height = 31, border =
0, format = GL_RGBA, type = GL_UNSIGNED_BYTE, pixels = blob(238080))
AFAIK this is illegal [copying between GL_RGB and GL_RGBA internal formats],
but I haven't double-checked the ARB_copy_image spec or a full GL spec release
(where these things are often updated).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>