mirror of
				https://github.com/jojo61/vdr-plugin-softhdcuvid.git
				synced 2025-03-01 10:39:28 +00:00 
			
		
		
		
	Fix OSD for skindesigner
This commit is contained in:
		
							
								
								
									
										6
									
								
								video.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								video.c
									
									
									
									
									
								
							| @@ -4095,7 +4095,8 @@ static void CuvidDisplayFrame(void) | ||||
| 		 | ||||
| 		glEnable(GL_BLEND); | ||||
| 		glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); | ||||
| 		 | ||||
| 		glViewport(0, 0, VideoWindowWidth,VideoWindowHeight); | ||||
| 		GlxCheck(); | ||||
| 		if (gl_prog_osd == 0) | ||||
| 			gl_prog_osd = sc_generate_osd(gl_prog_osd);    // generate shader programm | ||||
|  | ||||
| @@ -6324,6 +6325,9 @@ void VideoSetVideoMode( __attribute__ ((unused)) | ||||
|     VideoThreadLock(); | ||||
|     VideoWindowWidth = width; | ||||
|     VideoWindowHeight = height; | ||||
| #ifdef PLACEBO | ||||
| 	VideoSetOsdSize(width,height); | ||||
| #endif | ||||
|     VideoUsedModule->SetVideoMode(); | ||||
|     VideoThreadUnlock(); | ||||
|     | ||||
|   | ||||
		Reference in New Issue
	
	Block a user