vlc | branch: master | Thomas Guillem <[email protected]> | Mon Dec 11 16:39:31 2017 +0100| [0dedb9e260c3bc3612ff6c04226348c339201bdb] | committer: Thomas Guillem
direct3d9: remove useless texture generation It's already done by the vout_helper. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0dedb9e260c3bc3612ff6c04226348c339201bdb --- modules/video_output/win32/direct3d9.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c index ad75f2f9ef..4dbcbaadbd 100644 --- a/modules/video_output/win32/direct3d9.c +++ b/modules/video_output/win32/direct3d9.c @@ -1860,14 +1860,6 @@ GLConvAllocateTextures(const opengl_tex_converter_t *tc, GLuint *textures, { VLC_UNUSED(tex_width); VLC_UNUSED(tex_height); struct glpriv *priv = tc->priv; - tc->vt->GenTextures(1, textures); - - tc->vt->ActiveTexture(GL_TEXTURE0); - tc->vt->BindTexture(tc->tex_target, textures[0]); - tc->vt->TexParameteri(tc->tex_target, GL_TEXTURE_MIN_FILTER, GL_LINEAR); - tc->vt->TexParameteri(tc->tex_target, GL_TEXTURE_MAG_FILTER, GL_LINEAR); - tc->vt->TexParameterf(tc->tex_target, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); - tc->vt->TexParameterf(tc->tex_target, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); priv->gl_render = priv->vt.DXRegisterObjectNV(priv->gl_handle_d3d, priv->dx_render, _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
