HARK HARK HARK HARK
This commit is contained in:
Arisotura 2019-12-05 22:55:32 +01:00
parent 3f7bc1a6c1
commit 7adff320f7
5 changed files with 63 additions and 1 deletions

View File

@ -128,6 +128,8 @@
<Unit filename="src/GPU3D_OpenGL.cpp" />
<Unit filename="src/GPU3D_OpenGL_shaders.h" />
<Unit filename="src/GPU3D_Soft.cpp" />
<Unit filename="src/GPU_OpenGL.cpp" />
<Unit filename="src/GPU_OpenGL_shaders.h" />
<Unit filename="src/NDS.cpp" />
<Unit filename="src/NDS.h" />
<Unit filename="src/NDSCart.cpp" />

View File

@ -11,6 +11,7 @@ add_library(core STATIC
CRC32.cpp
DMA.cpp
GPU.cpp
GPU_OpenGL.cpp
GPU2D.cpp
GPU3D.cpp
GPU3D_OpenGL.cpp

View File

@ -20,7 +20,7 @@
#include <string.h>
#include "NDS.h"
#include "GPU.h"
u64 vbltime;
namespace GPU
{

32
src/GPU_OpenGL.cpp Normal file
View File

@ -0,0 +1,32 @@
/*
Copyright 2016-2019 Arisotura
This file is part of melonDS.
melonDS is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.
melonDS is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with melonDS. If not, see http://www.gnu.org/licenses/.
*/
#include <stdio.h>
#include <string.h>
#include "NDS.h"
#include "GPU.h"
#include "Config.h"
#include "OpenGLSupport.h"
#include "GPU_OpenGL_shaders.h"
namespace GPU
{
// shit goes here
}

27
src/GPU_OpenGL_shaders.h Normal file
View File

@ -0,0 +1,27 @@
/*
Copyright 2016-2019 Arisotura
This file is part of melonDS.
melonDS is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.
melonDS is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with melonDS. If not, see http://www.gnu.org/licenses/.
*/
#ifndef GPU_OPENGL_SHADERS_H
#define GPU_OPENGL_SHADERS_H
#define kShaderHeader "#version 140"
// shader shit goes here
#endif // GPU_OPENGL_SHADERS_H