hw/dmx: fix build without GLX
Fixes this compile break that showed up on arm recently: dmxinit.c:746:26: error: 'glxSupported' undeclared (first use in this function) dmxinit.c:746:26: note: each undeclared identifier is reported only once for each function it appears in Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
		
							parent
							
								
									5692a1e8f5
								
							
						
					
					
						commit
						07a91fa6c6
					
				| 
						 | 
				
			
			@ -740,10 +740,10 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char *argv[])
 | 
			
		|||
    /* Check if GLX extension exists on all back-end servers */
 | 
			
		||||
    for (i = 0; i < dmxNumScreens; i++)
 | 
			
		||||
        glxSupported &= (dmxScreens[i].glxMajorOpcode > 0);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
    if (serverGeneration == 1)
 | 
			
		||||
        dmxAddExtensions(glxSupported);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
    /* Tell dix layer about the backend displays */
 | 
			
		||||
    for (i = 0; i < dmxNumScreens; i++) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue