mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-28 12:52:14 +02:00
12 lines
257 B
C
12 lines
257 B
C
#include <switch.h>
|
|
|
|
Result nv3DContextCreate(Nv3DContext* t, NvGpu* parent)
|
|
{
|
|
t->parent = parent;
|
|
return nvioctlChannel_AllocObjCtx(parent->gpu_channel.fd, NvClassNumber_3D, 0, &t->obj_id);
|
|
}
|
|
|
|
void nv3DContextClose(Nv3DContext* t) {
|
|
// Empty
|
|
}
|