mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-16 10:51:55 -04:00
Merge pull request #497 from gamax92/gpu_fix
Make init.lua do exact component matching
This commit is contained in:
commit
a46f71c72c
@ -24,7 +24,7 @@ do
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Report boot progress if possible.
|
-- Report boot progress if possible.
|
||||||
local gpu = component.list("gpu")()
|
local gpu = component.list("gpu", true)()
|
||||||
local w, h
|
local w, h
|
||||||
if gpu and screen then
|
if gpu and screen then
|
||||||
component.invoke(gpu, "bind", screen)
|
component.invoke(gpu, "bind", screen)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user