You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Begining of GLES3 renderer:
-Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
This commit is contained in:
@@ -30,6 +30,23 @@
|
||||
#include "print_string.h"
|
||||
#include "os/os.h"
|
||||
|
||||
|
||||
Rasterizer* (*Rasterizer::_create_func)()=NULL;
|
||||
|
||||
Rasterizer *Rasterizer::create() {
|
||||
|
||||
return _create_func();
|
||||
}
|
||||
|
||||
RasterizerStorage*RasterizerStorage::base_signleton=NULL;
|
||||
|
||||
RasterizerStorage::RasterizerStorage() {
|
||||
|
||||
base_signleton=this;
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
||||
RID Rasterizer::create_default_material() {
|
||||
|
||||
return material_create();
|
||||
@@ -636,3 +653,5 @@ RID Rasterizer::create_overdraw_debug_material() {
|
||||
|
||||
return mat;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user