This repository has been archived on 2025-03-03. You can view files and clone it, but cannot push or open issues or pull requests.
htanks/Render.hs

14 lines
225 B
Haskell
Raw Normal View History

module Render ( render
) where
import Game
import Control.Monad.State
import Graphics.Rendering.OpenGL.GL.Framebuffer (clear, ClearBuffer(..))
render :: Game ()
render = do
liftIO $ clear [ColorBuffer]