From 9292b79e1d6eb5fbea2dd071a1363e717e1eb02a Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Fri, 13 Apr 2007 20:21:37 +0000 Subject: [PATCH] Fixed double clicking on video Originally committed to SVN as r1074. --- aegisub/video_context.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/aegisub/video_context.cpp b/aegisub/video_context.cpp index 005ff229d..2496681d4 100644 --- a/aegisub/video_context.cpp +++ b/aegisub/video_context.cpp @@ -550,6 +550,7 @@ GLuint VideoContext::GetFrameAsTexture(int n) { } // Load texture data + glBindTexture(GL_TEXTURE_2D, lastTex); glTexSubImage2D(GL_TEXTURE_2D,0,0,0,frame.pitch[0]/frame.GetBpp(0),frame.h,format,GL_UNSIGNED_BYTE,frame.data[0]); if (glGetError() != 0) throw _T("Error uploading primary plane");