Fix swapped Xv dispatch under Xinerama.
Same-endian dispatch was properly calling through the Xinerama wrapping, but other-endian dispatch wasn't.
This commit is contained in:
		
							
								
								
									
										910
									
								
								Xext/xvdisp.c
									
									
									
									
									
								
							
							
						
						
									
										910
									
								
								Xext/xvdisp.c
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -1 +1,2 @@
 | 
			
		||||
extern void XineramifyXv(void);
 | 
			
		||||
extern void XvResetProcVector(void);
 | 
			
		||||
 
 | 
			
		||||
@@ -102,8 +102,8 @@ SOFTWARE.
 | 
			
		||||
#ifdef PANORAMIX
 | 
			
		||||
#include "panoramiX.h"
 | 
			
		||||
#include "panoramiXsrv.h"
 | 
			
		||||
#include "xvdisp.h"
 | 
			
		||||
#endif
 | 
			
		||||
#include "xvdisp.h"
 | 
			
		||||
 | 
			
		||||
int  XvScreenIndex = -1;
 | 
			
		||||
unsigned long XvExtensionGeneration = 0;
 | 
			
		||||
@@ -326,12 +326,12 @@ XvCloseScreen(
 | 
			
		||||
  pScreen->devPrivates[XvScreenIndex].ptr = (pointer)NULL;
 | 
			
		||||
 | 
			
		||||
  return (*pScreen->CloseScreen)(ii, pScreen);
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void
 | 
			
		||||
XvResetProc(ExtensionEntry* extEntry)
 | 
			
		||||
{
 | 
			
		||||
    XvResetProcVector();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
_X_EXPORT int
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user