Closed MadPie closed 8 years ago
The function errors saying it expected a table, instead of userdata for arg 1, which is the texture. Is there a fix for this?
Here is the error-
bad argument #1 to 'copyEx' (table expected, got userdata)
copyEx takes its arguments in the form of a table.
Instead of
renderer:copyEx(textureUserdata)
try
renderer:copyEx({texture = textureUserdata})
(Documentation)
That fixed it.
The function errors saying it expected a table, instead of userdata for arg 1, which is the texture. Is there a fix for this?
Here is the error-
bad argument #1 to 'copyEx' (table expected, got userdata)