mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 02:22:15 +02:00
Stubbed 3d_ctx
This commit is contained in:
parent
957ebba6ff
commit
3cc15aeafc
@ -55,6 +55,7 @@ extern "C" {
|
||||
#include "switch/nvidia/info.h"
|
||||
#include "switch/nvidia/gpu/gpfifo.h"
|
||||
#include "switch/nvidia/gpu/zcull_ctx.h"
|
||||
#include "switch/nvidia/gpu/3d_ctx.h"
|
||||
#include "switch/nvidia/gpu/gpu.h"
|
||||
|
||||
#include "switch/runtime/env.h"
|
||||
|
8
nx/include/switch/nvidia/gpu/3d_ctx.h
Normal file
8
nx/include/switch/nvidia/gpu/3d_ctx.h
Normal file
@ -0,0 +1,8 @@
|
||||
typedef struct NvGpu NvGpu;
|
||||
|
||||
typedef struct {
|
||||
NvGpu* parent;
|
||||
} Nv3dContext;
|
||||
|
||||
Result nv3dCreate(Nv3dContext* t, NvGpu* parent);
|
||||
void nv3dClose(Nv3dContext* t);
|
11
nx/source/nvidia/gpu/3d_ctx.c
Normal file
11
nx/source/nvidia/gpu/3d_ctx.c
Normal file
@ -0,0 +1,11 @@
|
||||
#include <switch.h>
|
||||
|
||||
Result nv3dCreate(Nv3dContext* t, NvGpu* parent)
|
||||
{
|
||||
t->parent = parent;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void nv3dClose(Nv3dContext* t) {
|
||||
/**/
|
||||
}
|
Loading…
Reference in New Issue
Block a user