Stubbed 3d_ctx

This commit is contained in:
plutooo 2018-02-26 22:55:05 +01:00 committed by fincs
parent 1660f99afe
commit 4b20f609a9
3 changed files with 22 additions and 0 deletions

View File

@ -78,6 +78,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/audio/driver.h"

View File

@ -0,0 +1,10 @@
#pragma once
typedef struct NvGpu NvGpu;
typedef struct {
NvGpu* parent;
} Nv3dContext;
Result nv3dCreate(Nv3dContext* t, NvGpu* parent);
void nv3dClose(Nv3dContext* t);

View File

@ -0,0 +1,11 @@
#include <switch.h>
Result nv3dCreate(Nv3dContext* t, NvGpu* parent)
{
t->parent = parent;
return 0;
}
void nv3dClose(Nv3dContext* t) {
/**/
}