mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
12 lines
243 B
C
12 lines
243 B
C
#include <switch.h>
|
|
|
|
Result nv3dCreate(Nv3dContext* t, NvGpu* parent)
|
|
{
|
|
t->parent = parent;
|
|
return nvioctlChannel_AllocObjCtx(parent->gpu_channel.fd, NvClassNumber_3D, 0, &t->obj_id);
|
|
}
|
|
|
|
void nv3dClose(Nv3dContext* t) {
|
|
// Empty
|
|
}
|