atirut-w/oclinux

GPU related shenanigans

atirut-w opened this issue · 1 comments

  1. system.display.gpu gives out nil instead of the GPU component.
  2. Not initializing the display causes an out of memory error and
  3. Initializing it outside of kernel.internal:initialize() and before defining the system table causes a C stack overflow

Screenshots:

  1. system.display.gpu gives out nil instead of the GPU component.
local gpu = system.display.gpu

image

  1. Not initializing the display causes an out of memory error.
    image

  2. Initializing it outside of kernel.internal:initialize() and before defining the system table causes a C stack overflow
    image

Maybe I should just rewrite the display codes