mirror of https://github.com/kivy/kivy.git
window: remove recent debug information added in windows for android: gl_get_attribute() is not supported on android platform
This commit is contained in:
parent
78b50d8c66
commit
7ea3634ea7
|
@ -139,17 +139,20 @@ class WindowPygame(WindowBase):
|
||||||
Logger.debug('Window: Display driver ' + pygame.display.get_driver())
|
Logger.debug('Window: Display driver ' + pygame.display.get_driver())
|
||||||
Logger.debug('Window: Actual window size: %dx%d',
|
Logger.debug('Window: Actual window size: %dx%d',
|
||||||
info.current_w, info.current_h)
|
info.current_w, info.current_h)
|
||||||
Logger.debug('Window: Actual color bits r%d g%d b%d a%d',
|
if platform() != 'android':
|
||||||
pygame.display.gl_get_attribute(pygame.GL_RED_SIZE),
|
# unsupported platform, such as android that doesn't support
|
||||||
pygame.display.gl_get_attribute(pygame.GL_GREEN_SIZE),
|
# gl_get_attribute.
|
||||||
pygame.display.gl_get_attribute(pygame.GL_BLUE_SIZE),
|
Logger.debug('Window: Actual color bits r%d g%d b%d a%d',
|
||||||
pygame.display.gl_get_attribute(pygame.GL_ALPHA_SIZE))
|
pygame.display.gl_get_attribute(pygame.GL_RED_SIZE),
|
||||||
Logger.debug('Window: Actual depth bits: %d',
|
pygame.display.gl_get_attribute(pygame.GL_GREEN_SIZE),
|
||||||
pygame.display.gl_get_attribute(pygame.GL_DEPTH_SIZE))
|
pygame.display.gl_get_attribute(pygame.GL_BLUE_SIZE),
|
||||||
Logger.debug('Window: Actual stencil bits: %d',
|
pygame.display.gl_get_attribute(pygame.GL_ALPHA_SIZE))
|
||||||
pygame.display.gl_get_attribute(pygame.GL_STENCIL_SIZE))
|
Logger.debug('Window: Actual depth bits: %d',
|
||||||
Logger.debug('Window: Actual multisampling samples: %d',
|
pygame.display.gl_get_attribute(pygame.GL_DEPTH_SIZE))
|
||||||
pygame.display.gl_get_attribute(pygame.GL_MULTISAMPLESAMPLES))
|
Logger.debug('Window: Actual stencil bits: %d',
|
||||||
|
pygame.display.gl_get_attribute(pygame.GL_STENCIL_SIZE))
|
||||||
|
Logger.debug('Window: Actual multisampling samples: %d',
|
||||||
|
pygame.display.gl_get_attribute(pygame.GL_MULTISAMPLESAMPLES))
|
||||||
super(WindowPygame, self).create_window()
|
super(WindowPygame, self).create_window()
|
||||||
|
|
||||||
# set mouse visibility
|
# set mouse visibility
|
||||||
|
|
Loading…
Reference in New Issue