mirror of
				https://github.com/Perlmint/glew-cmake.git
				synced 2025-10-31 12:42:27 +00:00 
			
		
		
		
	*** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@271 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
		
							parent
							
								
									1249bf9faf
								
							
						
					
					
						commit
						b5da15300c
					
				| @ -589,10 +589,10 @@ VisualInfo (GLContext* ctx) | |||||||
|   if (!verbose) |   if (!verbose) | ||||||
|   { |   { | ||||||
|     /* print table header */ |     /* print table header */ | ||||||
|     fprintf(file, " +-----+----------------------+-----------------+----------+-------------+-------+------+\n"); |     fprintf(file, " +-----+-------------------------+-----------------+----------+-------------+-------+------+\n"); | ||||||
|     fprintf(file, " |     |        visual        |      color      | ax dp st |    accum    |   ms  |  cav |\n"); |     fprintf(file, " |     |        visual           |      color      | ax dp st |    accum    |   ms  |  cav |\n"); | ||||||
|     fprintf(file, " |  id | tp xr cl fm db st lv |  sz  r  g  b  a | bf th cl | r  g  b  a  | ns  b |  eat |\n"); |     fprintf(file, " |  id | tp xr cl fm db st lv xp |  sz  r  g  b  a | bf th cl | r  g  b  a  | ns  b |  eat |\n"); | ||||||
|     fprintf(file, " +-----+----------------------+-----------------+----------+-------------+-------+------+\n"); |     fprintf(file, " +-----+-------------------------+-----------------+----------+-------------+-------+------+\n"); | ||||||
|     /* loop through all the fbcs */ |     /* loop through all the fbcs */ | ||||||
|     for (i=0; i<n_fbc; i++) |     for (i=0; i<n_fbc; i++) | ||||||
|     { |     { | ||||||
| @ -701,12 +701,29 @@ VisualInfo (GLContext* ctx) | |||||||
|       /* level */ |       /* level */ | ||||||
|       ret = glXGetFBConfigAttrib(ctx->dpy, fbc[i], GLX_LEVEL, &value); |       ret = glXGetFBConfigAttrib(ctx->dpy, fbc[i], GLX_LEVEL, &value); | ||||||
|       if (Success != ret) |       if (Success != ret) | ||||||
|  |       { | ||||||
|  |         fprintf(file, " ? "); | ||||||
|  |       } | ||||||
|  |       else | ||||||
|  |       { | ||||||
|  |         fprintf(file, "%2d ", value); | ||||||
|  |       } | ||||||
|  |       /* transparency */ | ||||||
|  |       ret = glXGetFBConfigAttrib(ctx->dpy, fbc[i], GLX_TRANSPARENT_TYPE, &value); | ||||||
|  |       if (Success != ret) | ||||||
|       { |       { | ||||||
|         fprintf(file, " ? | "); |         fprintf(file, " ? | "); | ||||||
|       } |       } | ||||||
|       else |       else | ||||||
|       { |       { | ||||||
|         fprintf(file, "%2d | ", value); |         if (GLX_TRANSPARENT_RGB == value) | ||||||
|  |           fprintf(file, " r | "); | ||||||
|  |         else if (GLX_TRANSPARENT_INDEX == value) | ||||||
|  |           fprintf(file, " i | "); | ||||||
|  |         else if (GLX_NONE == value) | ||||||
|  |           fprintf(file, " . | "); | ||||||
|  |         else | ||||||
|  |           fprintf(file, " ? | "); | ||||||
|       } |       } | ||||||
|       /* color size */ |       /* color size */ | ||||||
|       ret = glXGetFBConfigAttrib(ctx->dpy, fbc[i], GLX_BUFFER_SIZE, &value); |       ret = glXGetFBConfigAttrib(ctx->dpy, fbc[i], GLX_BUFFER_SIZE, &value); | ||||||
| @ -902,10 +919,10 @@ VisualInfo (GLContext* ctx) | |||||||
|       } |       } | ||||||
|     } |     } | ||||||
|     /* print table footer */ |     /* print table footer */ | ||||||
|     fprintf(file, " +-----+----------------------+-----------------+----------+-------------+-------+------+\n"); |     fprintf(file, " +-----+-------------------------+-----------------+----------+-------------+-------+------+\n"); | ||||||
|     fprintf(file, " |  id | tp xr cl fm db st lv |  sz  r  g  b  a | bf th cl | r  g  b  a  | ns  b |  eat |\n"); |     fprintf(file, " |  id | tp xr cl fm db st lv xp |  sz  r  g  b  a | bf th cl | r  g  b  a  | ns  b |  eat |\n"); | ||||||
|     fprintf(file, " |     |        visual        |      color      | ax dp st |    accum    |   ms  |  cav |\n"); |     fprintf(file, " |     |        visual           |      color      | ax dp st |    accum    |   ms  |  cav |\n"); | ||||||
|     fprintf(file, " +-----+----------------------+-----------------+----------+-------------+-------+------+\n"); |     fprintf(file, " +-----+-------------------------+-----------------+----------+-------------+-------+------+\n"); | ||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user