Working on shadow bug
This commit is contained in:
1 parent
6a79e8e41e
commit
02ba86331b
2 files changed
+17
-7
No files matched your search
@@ -56,7 +56,7 @@ namespace FRG {
|
||||
{
|
||||
glGenFramebuffers(1, &fbo);
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#if defined(EMSCRIPTEN) || defined(__ANDROID__)
|
||||
glGenTextures(1, &depthTexture);
|
||||
glBindTexture(GL_TEXTURE_2D, depthTexture);
|
||||
|
||||
|
||||
Reference in new issue
Block a user