Skip to content

Commit

Permalink
request RGB texture rather than RGBA for texture-from-pixmap
Browse files Browse the repository at this point in the history
  • Loading branch information
i-rinat committed Jan 25, 2014
1 parent bcc2809 commit e60c16e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-video-mixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ _render_va_surf_to_texture(VdpVideoMixerData *videoMixerData, VdpVideoSurfaceDat
int pixmap_attrs[] = {
GLX_TEXTURE_TARGET_EXT, GLX_TEXTURE_2D_EXT,
GLX_MIPMAP_TEXTURE_EXT, GL_FALSE,
GLX_TEXTURE_FORMAT_EXT, GLX_TEXTURE_FORMAT_RGBA_EXT,
GLX_TEXTURE_FORMAT_EXT, GLX_TEXTURE_FORMAT_RGB_EXT,
GL_NONE
};

Expand Down

0 comments on commit e60c16e

Please sign in to comment.