.
This commit is contained in:
parent
b5e2118407
commit
d6f76e8886
2 changed files with 6 additions and 3 deletions
|
@ -11,6 +11,7 @@
|
|||
425E9DF6140A774D00A81A65 /* basic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 425E9DF5140A774D00A81A65 /* basic.cpp */; };
|
||||
425E9DF9140A7EB400A81A65 /* fbo.mm in Sources */ = {isa = PBXBuildFile; fileRef = 425E9DF8140A7EB400A81A65 /* fbo.mm */; };
|
||||
425E9DFB140A846700A81A65 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 425E9DFA140A846700A81A65 /* QuartzCore.framework */; };
|
||||
425E9E02140A96C400A81A65 /* J.h in Headers */ = {isa = PBXBuildFile; fileRef = 4268136D140A321800CBF943 /* J.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
42681369140A321800CBF943 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 42681368140A321800CBF943 /* Foundation.framework */; };
|
||||
4268136F140A321800CBF943 /* J.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4268136E140A321800CBF943 /* J.mm */; };
|
||||
42ED6A6B140A380000402F76 /* fbo.h in Headers */ = {isa = PBXBuildFile; fileRef = 42ED6A68140A380000402F76 /* fbo.h */; };
|
||||
|
@ -58,8 +59,9 @@
|
|||
4268135A140A321700CBF943 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
425E9DF4140A751200A81A65 /* std */,
|
||||
4268136A140A321800CBF943 /* J */,
|
||||
425E9DF4140A751200A81A65 /* std */,
|
||||
4268136B140A321800CBF943 /* Supporting Files */,
|
||||
42681367140A321800CBF943 /* Frameworks */,
|
||||
42681366140A321800CBF943 /* Products */,
|
||||
);
|
||||
|
@ -92,7 +94,6 @@
|
|||
42ED6A69140A380000402F76 /* shader.h */,
|
||||
4268136D140A321800CBF943 /* J.h */,
|
||||
4268136E140A321800CBF943 /* J.mm */,
|
||||
4268136B140A321800CBF943 /* Supporting Files */,
|
||||
);
|
||||
path = J;
|
||||
sourceTree = "<group>";
|
||||
|
@ -103,6 +104,7 @@
|
|||
4268136C140A321800CBF943 /* J-Prefix.pch */,
|
||||
);
|
||||
name = "Supporting Files";
|
||||
path = J;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
@ -112,6 +114,7 @@
|
|||
isa = PBXHeadersBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
425E9E02140A96C400A81A65 /* J.h in Headers */,
|
||||
42ED6A6B140A380000402F76 /* fbo.h in Headers */,
|
||||
42ED6A6C140A380000402F76 /* shader.h in Headers */,
|
||||
42ED6A6D140A380000402F76 /* to_string.h in Headers */,
|
||||
|
|
2
J/fbo.mm
2
J/fbo.mm
|
@ -15,7 +15,7 @@ namespace J {
|
|||
glGenFramebuffers(1, &fbo_number);
|
||||
bind();
|
||||
|
||||
// much like create_attach_renderbuffer(), but it's not created, but given by the context.
|
||||
// much like create_attach_renderbuffer(), but it's not created, it's given by the context.
|
||||
{
|
||||
GLuint buffer;
|
||||
glGenRenderbuffers(1, &buffer);
|
||||
|
|
Reference in a new issue