aboutsummaryrefslogtreecommitdiff
path: root/src/Chelleport/Context.hs
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-12-24 18:51:17 +0530
committerAkshay Nair <phenax5@gmail.com>2024-12-24 18:51:17 +0530
commit70e3920556496e5fecb5fedddf1067b2522fcac7 (patch)
tree7e4e88023bdcd5b13dde738f7afedd533a6d7fcd /src/Chelleport/Context.hs
parentdfdf1600ba251f6b3cfef85f6904d79a1c60b49d (diff)
downloadchelleport-70e3920556496e5fecb5fedddf1067b2522fcac7.tar.gz
chelleport-70e3920556496e5fecb5fedddf1067b2522fcac7.zip
Add setup for ocr with tesseract
Diffstat (limited to 'src/Chelleport/Context.hs')
-rw-r--r--src/Chelleport/Context.hs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Chelleport/Context.hs b/src/Chelleport/Context.hs
index b23c1c2..30d8516 100644
--- a/src/Chelleport/Context.hs
+++ b/src/Chelleport/Context.hs
@@ -11,14 +11,6 @@ import SDL (($=))
import qualified SDL
import qualified SDL.Font as TTF
--- benchmark :: String -> IO a -> IO a
--- benchmark msg m = do
--- start <- systemNanoseconds <$> getSystemTime
--- result <- m
--- end <- systemNanoseconds <$> getSystemTime
--- Debug.traceM $ msg ++ ": " ++ show (end - start)
--- pure result
-
initializeContext :: IO DrawContext
initializeContext = do
-- Initialize SDL