made functions in graphics_device const

to work with the game class better in kgfwk