Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fromNumber: not numbered #283

Closed
nomeata opened this issue Mar 5, 2023 · 1 comment
Closed

fromNumber: not numbered #283

nomeata opened this issue Mar 5, 2023 · 1 comment

Comments

@nomeata
Copy link

nomeata commented Mar 5, 2023

Writing

{-# LANGUAGE OverloadedStrings #-}
import SDL

main = do
  initializeAll
  window <- createWindow "My SDL Application" defaultWindow
  renderer <- createRenderer window (-1) defaultRenderer
  getRendererInfo renderer >>= print

I get

slice-and-smear: fromNumber: not numbered
CallStack (from HasCallStack):
  error, called at src/SDL/Video/Renderer.hs:982:10 in sdl2-2.5.3.0-KG3jVxVtPtcCq0jKIEZgK:SDL.Video.Renderer

This is sdl2-2.5.3.0 on NixOS on Linux, using X11.

@dpwiz
Copy link
Member

dpwiz commented Mar 9, 2023

Should be fixed with #227 which got shipped in v2.5.3.1.

@dpwiz dpwiz closed this as completed Mar 9, 2023
@dpwiz dpwiz added the duplicate label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants