| 1 |
|
| 2 |
#include <GL/glew.h> |
| 3 |
|
| 4 |
#include "MyCanvas.h"cxx . . $ `<file>/src/MyCanvas.h`/ |
| 5 |
#include "HardSettings.h"cxx . . $ `<file>/src/HardSettings.h`/ |
| 6 |
|
| 7 |
MyCanvascxx . . $ MyCanvas# mainCanvascxx . . $ mainCanvas.(MyCanvascxx . . $ MyCanvas#::COLOR_AND_DEPTHcxx . . $ MyCanvas#COLOR_AND_DEPTH.); |
| 8 |
MyCanvascxx . . $ MyCanvas# shadowmapCanvascxx . . $ shadowmapCanvas.(MyCanvascxx . . $ MyCanvas#::DEPTHcxx . . $ MyCanvas#DEPTH.); |
| 9 |
MyCanvascxx . . $ MyCanvas# shadowAOCanvascxx . . $ shadowAOCanvas.(MyCanvascxx . . $ MyCanvas#::DEPTHcxx . . $ MyCanvas#DEPTH.); |
| 10 |
MyCanvascxx . . $ MyCanvas# haloCanvascxx . . $ haloCanvas.(MyCanvascxx . . $ MyCanvas#::DEPTHcxx . . $ MyCanvas#DEPTH.); |
| 11 |
MyCanvascxx . . $ MyCanvas# moltextureCanvascxx . . $ moltextureCanvas.(MyCanvascxx . . $ MyCanvas#::COLORcxx . . $ MyCanvas#COLOR.,hardSettingscxx . . $ hardSettings..TSIZEcxx . . $ HardSettings#TSIZE.); |
| 12 |
|
| 13 |
|
| 14 |
#define INVALID_IDcxx . . $ `src/MyCanvas.cpp:14:9`! 666 |
| 15 |
|
| 16 |
typedef unsigned int uintcxx . . $ uint#; |
| 17 |
|
| 18 |
bool MyCanvascxx . . $ MyCanvas#::SetAsOutputcxx . . $ MyCanvas#SetAsOutput(c9857a73d68e59ba).(){ |
| 19 |
if (onVideocxx . . $ MyCanvas#onVideo.) glBindFramebufferEXTcxx . . $ `<external>/18396878532286971346/glew.h:10839:9`!( GL_FRAMEBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10805:9`!, 0); |
| 20 |
else { |
| 21 |
if (frameIDcxx . . $ MyCanvas#frameID.[ currentRescxx . . $ MyCanvas#currentRes. ] == INVALID_IDcxx . . $ `src/MyCanvas.cpp:14:9`! ) { |
| 22 |
if ( !InitRescxx . . $ MyCanvas#InitRes(c9857a73d68e59ba).() ) return false; |
| 23 |
} |
| 24 |
glBindFramebufferEXTcxx . . $ `<external>/18396878532286971346/glew.h:10839:9`!( GL_FRAMEBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10805:9`!, frameIDcxx . . $ MyCanvas#frameID.[ currentRescxx . . $ MyCanvas#currentRes. ] ); |
| 25 |
} |
| 26 |
return true; |
| 27 |
} |
| 28 |
|
| •29 |
void MyCanvascxx . . $ MyCanvas#::SetAsTexturecxx . . $ MyCanvas#SetAsTexture(49f6e7a06ebc5aa8).(){ |
| 30 |
glBindTexture( GL_TEXTURE_2Dcxx . . $ `<external>/18396878532286971346/glew.h:12482:9`!, textureIDcxx . . $ MyCanvas#textureID.[ currentRescxx . . $ MyCanvas#currentRes. ] ); |
| 31 |
} |
| 32 |
|
| 33 |
MyCanvascxx . . $ MyCanvas#::MyCanvascxx . . $ MyCanvas#MyCanvas(dea714d560ec6b2a).(Kindcxx . . $ MyCanvas#Kind# k, int size){ |
| 34 |
currentRescxx . . $ MyCanvas#currentRes.=0; |
| 35 |
onVideocxx . . $ MyCanvas#onVideo.=false; |
| 36 |
kindcxx . . $ MyCanvas#kind.=k; |
| 37 |
for (int i=0; i<MAX_REScxx . . $ MyCanvas#MAX_RES.; i++) { |
| 38 |
frameIDcxx . . $ MyCanvas#frameID.[i]=textureIDcxx . . $ MyCanvas#textureID.[i]=INVALID_IDcxx . . $ `src/MyCanvas.cpp:14:9`!; |
| 39 |
} |
| 40 |
SetRescxx . . $ MyCanvas#SetRes(d4f767463ce0a6b3).(size); |
| 41 |
} |
| 42 |
|
| 43 |
MyCanvascxx . . $ MyCanvas#::MyCanvascxx . . $ MyCanvas#MyCanvas(2640797f4e58507c).(Kindcxx . . $ MyCanvas#Kind# k){ |
| 44 |
currentRescxx . . $ MyCanvas#currentRes.=0; |
| 45 |
onVideocxx . . $ MyCanvas#onVideo.=false; |
| 46 |
kindcxx . . $ MyCanvas#kind.=k; |
| 47 |
for (int i=0; i<MAX_REScxx . . $ MyCanvas#MAX_RES.; i++) { |
| 48 |
frameIDcxx . . $ MyCanvas#frameID.[i]=textureIDcxx . . $ MyCanvas#textureID.[i]=INVALID_IDcxx . . $ `src/MyCanvas.cpp:14:9`!; |
| 49 |
} |
| 50 |
} |
| 51 |
|
| 52 |
|
| 53 |
void MyCanvascxx . . $ MyCanvas#::SetRescxx . . $ MyCanvas#SetRes(d4f767463ce0a6b3).( int res ) { |
| 54 |
int i=0; |
| 55 |
softRescxx . . $ MyCanvas#softRes.=res; |
| 56 |
|
| 57 |
while ( (1<<i) < res) i++; |
| 58 |
|
| 59 |
if (i>=MAX_REScxx . . $ MyCanvas#MAX_RES.) { i=MAX_REScxx . . $ MyCanvas#MAX_RES.-1; softRescxx . . $ MyCanvas#softRes.=1<<i; } |
| 60 |
currentRescxx . . $ MyCanvas#currentRes.=i; |
| 61 |
|
| 62 |
|
| 63 |
} |
| 64 |
|
| 65 |
void MyCanvascxx . . $ MyCanvas#::SetResPow2cxx . . $ MyCanvas#SetResPow2(d4f767463ce0a6b3).( int pow ){ |
| 66 |
currentRescxx . . $ MyCanvas#currentRes.=pow; |
| 67 |
softRescxx . . $ MyCanvas#softRes.=1<<currentRescxx . . $ MyCanvas#currentRes.; |
| 68 |
} |
| 69 |
|
| 70 |
void MyCanvascxx . . $ MyCanvas#::RedirectToVideocxx . . $ MyCanvas#RedirectToVideo(49f6e7a06ebc5aa8).(){ |
| 71 |
onVideocxx . . $ MyCanvas#onVideo.=true; |
| 72 |
} |
| 73 |
|
| 74 |
void MyCanvascxx . . $ MyCanvas#::RedirectToMemorycxx . . $ MyCanvas#RedirectToMemory(49f6e7a06ebc5aa8).(){ |
| 75 |
onVideocxx . . $ MyCanvas#onVideo.=false; |
| 76 |
} |
| 77 |
|
| 78 |
void MyCanvascxx . . $ MyCanvas#::SetVideoSizecxx . . $ MyCanvas#SetVideoSize(d4f767463ce0a6b3).(int v){ |
| 79 |
videoSizecxx . . $ MyCanvas#videoSize.=v; |
| 80 |
} |
| 81 |
|
| 82 |
int MyCanvascxx . . $ MyCanvas#::GetHardRescxx . . $ MyCanvas#GetHardRes(b126dc7c1de90089).(){ |
| 83 |
if (onVideocxx . . $ MyCanvas#onVideo.) { |
| 84 |
return videoSizecxx . . $ MyCanvas#videoSize.; |
| 85 |
} else |
| 86 |
return 1<<currentRescxx . . $ MyCanvas#currentRes.; |
| 87 |
} |
| 88 |
|
| 89 |
int MyCanvascxx . . $ MyCanvas#::GetSoftRescxx . . $ MyCanvas#GetSoftRes(b126dc7c1de90089).(){ |
| 90 |
if (onVideocxx . . $ MyCanvas#onVideo.) { |
| 91 |
return videoSizecxx . . $ MyCanvas#videoSize.; |
| 92 |
} else |
| 93 |
return softRescxx . . $ MyCanvas#softRes.; |
| 94 |
} |
| 95 |
|
| 96 |
void MyCanvascxx . . $ MyCanvas#::SetSameRescxx . . $ MyCanvas#SetSameRes(9f6d890b2e158c7a).( const MyCanvascxx . . $ MyCanvas# &c ){ |
| 97 |
if (c.onVideocxx . . $ MyCanvas#onVideo.) { |
| 98 |
SetRescxx . . $ MyCanvas#SetRes(d4f767463ce0a6b3).( c.videoSizecxx . . $ MyCanvas#videoSize. ); |
| 99 |
} else { |
| 100 |
currentRescxx . . $ MyCanvas#currentRes.=c.currentRescxx . . $ MyCanvas#currentRes.; |
| 101 |
softRescxx . . $ MyCanvas#softRes.=c.softRescxx . . $ MyCanvas#softRes.; |
| 102 |
} |
| 103 |
} |
| 104 |
|
| 105 |
bool CheckFrameBuffercxx . . $ CheckFrameBuffer(c9857a73d68e59ba).() |
| 106 |
{ |
| 107 |
GLenum res = glCheckFramebufferStatusEXTcxx . . $ `<external>/18396878532286971346/glew.h:10841:9`!(GL_FRAMEBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10805:9`!); |
| 108 |
switch(res) { |
| 109 |
case GL_FRAMEBUFFER_COMPLETE_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10778:9`!: return true; |
| 110 |
case GL_FRAMEBUFFER_UNSUPPORTED_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10785:9`!: |
| 111 |
//printf("Unsupported FB!\n"); |
| 112 |
return false; |
| 113 |
case GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10779:9`!: |
| 114 |
//printf("Incompl: attachment !\n"); |
| 115 |
return false; |
| 116 |
case GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10780:9`!: |
| 117 |
//printf("Incompl: missing attach FB!\n"); |
| 118 |
return false; |
| 119 |
//case GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT: Note this enum was removed by the Revision 117 of the FBO spec. |
| 120 |
//printf("Incompl: dupicate attach FB!\n"); |
| 121 |
// return false; |
| 122 |
case GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10781:9`!: |
| 123 |
//printf("Incompl: dimensions!\n"); |
| 124 |
return false; |
| 125 |
case GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10782:9`!: |
| 126 |
//printf("Incompl: formats!\n"); |
| 127 |
return false; |
| 128 |
case GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10783:9`!: |
| 129 |
//printf("Incompl: draw buffer!\n"); |
| 130 |
return false; |
| 131 |
case GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10784:9`!: |
| 132 |
//printf("Incompl: read buffer!\n"); |
| 133 |
return false; |
| 134 |
default: |
| 135 |
//printf("Unknow FB error!\n"); |
| 136 |
return false; |
| 137 |
} |
| 138 |
} |
| 139 |
|
| 140 |
|
| 141 |
bool MyCanvascxx . . $ MyCanvas#::InitRescxx . . $ MyCanvas#InitRes(c9857a73d68e59ba).(){ |
| 142 |
//bool createOffsetFrame(uint &frameID, uint &textureID, int screensize, int flags){ |
| 143 |
|
| 144 |
bool depth= (kindcxx . . $ MyCanvas#kind.==DEPTHcxx . . $ MyCanvas#DEPTH.); |
| 145 |
|
| 146 |
bool hide= (kindcxx . . $ MyCanvas#kind.==DEPTHcxx . . $ MyCanvas#DEPTH.); |
| 147 |
|
| 148 |
bool use_depth= (kindcxx . . $ MyCanvas#kind.==COLOR_AND_DEPTHcxx . . $ MyCanvas#COLOR_AND_DEPTH. ); |
| 149 |
|
| 150 |
|
| 151 |
int screensizex=GetHardRescxx . . $ MyCanvas#GetHardRes(b126dc7c1de90089).(); |
| 152 |
int screensizey=GetHardRescxx . . $ MyCanvas#GetHardRes(b126dc7c1de90089).(); |
| 153 |
|
| 154 |
if (ratio2x1cxx . . $ MyCanvas#ratio2x1.) screensizex*=2; |
| 155 |
|
| 156 |
uintcxx . . $ uint# status=12345; |
| 157 |
if (glCheckFramebufferStatusEXTcxx . . $ `<external>/18396878532286971346/glew.h:10841:9`!!=0) |
| 158 |
status = glCheckFramebufferStatusEXTcxx . . $ `<external>/18396878532286971346/glew.h:10841:9`!(GL_FRAMEBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10805:9`!); |
| 159 |
switch(status) { |
| 160 |
case 12345: |
| 161 |
//printf("FrameBufferObject Extension not found! [hint: Update drivers] No shadows :(...\n"); |
| 162 |
return false; |
| 163 |
case GL_FRAMEBUFFER_COMPLETE_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10778:9`!: break; |
| 164 |
case GL_FRAMEBUFFER_UNSUPPORTED_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10785:9`!: |
| 165 |
//printf("FrameBufferObject not supported by your card! No shadows :(...\n"); |
| 166 |
return false; |
| 167 |
} |
| 168 |
|
| 169 |
// creiamo: |
| 170 |
glGenFramebuffersEXTcxx . . $ `<external>/18396878532286971346/glew.h:10848:9`!(1, (GLuint *)(& (frameIDcxx . . $ MyCanvas#frameID.[ currentRescxx . . $ MyCanvas#currentRes. ])) ); // frame buffer |
| 171 |
|
| 172 |
//if (textureID==666) |
| 173 |
glGenTextures(1, (GLuint *)(&(textureIDcxx . . $ MyCanvas#textureID.[ currentRescxx . . $ MyCanvas#currentRes. ]) )); |
| 174 |
|
| 175 |
// settimao l'offset Frame |
| 176 |
glBindFramebufferEXTcxx . . $ `<external>/18396878532286971346/glew.h:10839:9`!(GL_FRAMEBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10805:9`!, frameIDcxx . . $ MyCanvas#frameID.[ currentRescxx . . $ MyCanvas#currentRes. ]); |
| 177 |
|
| 178 |
const int NTRIES=2; |
| 179 |
unsigned int tryme[NTRIES]={GL_DEPTH_COMPONENT24cxx . . $ `<external>/18396878532286971346/glew.h:1505:9`!, GL_DEPTH_COMPONENT16cxx . . $ `<external>/18396878532286971346/glew.h:1504:9`!}; |
| 180 |
static GLuint dummydepth=666; |
| 181 |
|
| 182 |
for (int i=0; i<((depth||use_depth)?NTRIES:1); i++) { |
| 183 |
|
| 184 |
/**/ // initialize texture |
| 185 |
/**/ //glActiveTextureARB(GL_TEXTURE1_ARB); |
| 186 |
/**/ glBindTexture(GL_TEXTURE_2Dcxx . . $ `<external>/18396878532286971346/glew.h:12482:9`!, textureIDcxx . . $ MyCanvas#textureID.[currentRescxx . . $ MyCanvas#currentRes.] ); |
| 187 |
/**/ glTexImage2D(GL_TEXTURE_2Dcxx . . $ `<external>/18396878532286971346/glew.h:12482:9`!, 0, |
| 188 |
/**/ (depth)?tryme[i] :GL_RGBA8cxx . . $ `<external>/18396878532286971346/glew.h:804:9`!, |
| 189 |
/**/ screensizex, screensizey, 0, |
| 190 |
/**/ (depth)?GL_DEPTH_COMPONENTcxx . . $ `<external>/18396878532286971346/glew.h:19292:9`!:GL_RGBAcxx . . $ `<external>/18396878532286971346/glew.h:692:9`!, |
| 191 |
/**/ (depth)?GL_UNSIGNED_INTcxx . . $ `<external>/18396878532286971346/glew.h:19343:9`!:GL_UNSIGNED_BYTEcxx . . $ `<external>/18396878532286971346/glew.h:648:9`!, |
| 192 |
/**/ 0 |
| 193 |
/**/ ); |
| 194 |
/**/ glTexParameteri(GL_TEXTURE_2Dcxx . . $ `<external>/18396878532286971346/glew.h:12482:9`!, GL_TEXTURE_MIN_FILTERcxx . . $ `<external>/18396878532286971346/glew.h:735:9`!, GL_LINEARcxx . . $ `<external>/18396878532286971346/glew.h:729:9`!); |
| 195 |
/**/ glTexParameteri(GL_TEXTURE_2Dcxx . . $ `<external>/18396878532286971346/glew.h:12482:9`!, GL_TEXTURE_MAG_FILTERcxx . . $ `<external>/18396878532286971346/glew.h:734:9`!, GL_LINEARcxx . . $ `<external>/18396878532286971346/glew.h:729:9`!); |
| 196 |
/**/ glTexParameteri(GL_TEXTURE_2Dcxx . . $ `<external>/18396878532286971346/glew.h:12482:9`!, GL_TEXTURE_WRAP_Scxx . . $ `<external>/18396878532286971346/glew.h:736:9`!, GL_CLAMP_TO_EDGEcxx . . $ `<external>/18396878532286971346/glew.h:1249:9`!); |
| 197 |
/**/ glTexParameteri(GL_TEXTURE_2Dcxx . . $ `<external>/18396878532286971346/glew.h:12482:9`!, GL_TEXTURE_WRAP_Tcxx . . $ `<external>/18396878532286971346/glew.h:737:9`!, GL_CLAMP_TO_EDGEcxx . . $ `<external>/18396878532286971346/glew.h:1249:9`!); |
| 198 |
|
| 199 |
|
| 200 |
// attach texture to framebuffer depth or color buffer |
| 201 |
glFramebufferTexture2DEXTcxx . . $ `<external>/18396878532286971346/glew.h:10846:9`!(GL_FRAMEBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10805:9`!, |
| 202 |
(depth)?GL_DEPTH_ATTACHMENT_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10803:9`!:GL_COLOR_ATTACHMENT0_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10787:9`!, |
| 203 |
GL_TEXTURE_2Dcxx . . $ `<external>/18396878532286971346/glew.h:12482:9`!, textureIDcxx . . $ MyCanvas#textureID.[currentRescxx . . $ MyCanvas#currentRes.], 0); |
| 204 |
|
| 205 |
if (depth) { |
| 206 |
/**/ glTexParameteri(GL_TEXTURE_2Dcxx . . $ `<external>/18396878532286971346/glew.h:12482:9`!, GL_TEXTURE_MIN_FILTERcxx . . $ `<external>/18396878532286971346/glew.h:735:9`!, GL_NEARESTcxx . . $ `<external>/18396878532286971346/glew.h:728:9`!); |
| 207 |
/**/ glTexParameteri(GL_TEXTURE_2Dcxx . . $ `<external>/18396878532286971346/glew.h:12482:9`!, GL_TEXTURE_MAG_FILTERcxx . . $ `<external>/18396878532286971346/glew.h:734:9`!, GL_NEARESTcxx . . $ `<external>/18396878532286971346/glew.h:728:9`!); |
| 208 |
/**/ glTexParameteri (GL_TEXTURE_2Dcxx . . $ `<external>/18396878532286971346/glew.h:12482:9`!, GL_DEPTH_TEXTURE_MODEcxx . . $ `<external>/18396878532286971346/glew.h:1529:9`!, GL_LUMINANCEcxx . . $ `<external>/18396878532286971346/glew.h:693:9`!); |
| 209 |
GLuint renderID; |
| 210 |
if (hide) { |
| 211 |
// TODO: render to buffer NONE |
| 212 |
glGenRenderbuffersEXTcxx . . $ `<external>/18396878532286971346/glew.h:10849:9`!(1, &renderID ); // render buffer |
| 213 |
|
| 214 |
glBindRenderbufferEXTcxx . . $ `<external>/18396878532286971346/glew.h:10840:9`!(GL_RENDERBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10806:9`!, renderID ); |
| 215 |
glRenderbufferStorageEXTcxx . . $ `<external>/18396878532286971346/glew.h:10855:9`!(GL_RENDERBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10806:9`!, GL_RGBAcxx . . $ `<external>/18396878532286971346/glew.h:692:9`!, screensizex, screensizey); |
| 216 |
|
| 217 |
glFramebufferRenderbufferEXTcxx . . $ `<external>/18396878532286971346/glew.h:10844:9`!(GL_FRAMEBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10805:9`!, GL_COLOR_ATTACHMENT0_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10787:9`!, |
| 218 |
GL_RENDERBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10806:9`!, renderID ); |
| 219 |
} |
| 220 |
} |
| 221 |
|
| 222 |
if (use_depth) { |
| 223 |
|
| 224 |
#if 0 |
| 225 |
// create dummy depth TEXTURE |
| 226 |
if (dummydepth==666); glGenTextures(1, &dummydepth); |
| 227 |
|
| 228 |
glBindTexture(GL_TEXTURE_2D, dummydepth ); |
| 229 |
glTexImage2D(GL_TEXTURE_2D, 0, |
| 230 |
tryme[i], |
| 231 |
screensizex, screensizey, 0, |
| 232 |
GL_DEPTH_COMPONENT, |
| 233 |
GL_UNSIGNED_INT, 0 |
| 234 |
); |
| 235 |
// attach it to framebuffer |
| 236 |
glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, GL_TEXTURE_2D,dummydepth, 0); |
| 237 |
|
| 238 |
#else |
| 239 |
|
| 240 |
// create dummy depth Renderbuffer (on card) |
| 241 |
if (dummydepth==666) glGenRenderbuffersEXTcxx . . $ `<external>/18396878532286971346/glew.h:10849:9`!(1, &dummydepth); |
| 242 |
|
| 243 |
glBindRenderbufferEXTcxx . . $ `<external>/18396878532286971346/glew.h:10840:9`!(GL_RENDERBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10806:9`!, dummydepth ); |
| 244 |
glRenderbufferStorageEXTcxx . . $ `<external>/18396878532286971346/glew.h:10855:9`!(GL_RENDERBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10806:9`!, tryme[i], screensizex, screensizey ); |
| 245 |
// attach it to framebuffer |
| 246 |
glFramebufferRenderbufferEXTcxx . . $ `<external>/18396878532286971346/glew.h:10844:9`!(GL_FRAMEBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10805:9`!, GL_DEPTH_ATTACHMENT_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10803:9`!, GL_RENDERBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10806:9`!, dummydepth); |
| 247 |
|
| 248 |
#endif |
| 249 |
|
| 250 |
} |
| 251 |
|
| 252 |
|
| 253 |
dummydepth=666; |
| 254 |
if (CheckFrameBuffercxx . . $ CheckFrameBuffer(c9857a73d68e59ba).()) { |
| 255 |
glBindFramebufferEXTcxx . . $ `<external>/18396878532286971346/glew.h:10839:9`!(GL_FRAMEBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10805:9`!, 0 ); |
| 256 |
return true; |
| 257 |
} |
| 258 |
|
| 259 |
} |
| 260 |
|
| 261 |
glBindFramebufferEXTcxx . . $ `<external>/18396878532286971346/glew.h:10839:9`!(GL_FRAMEBUFFER_EXTcxx . . $ `<external>/18396878532286971346/glew.h:10805:9`!, 0 ); |
| 262 |
return false; |
| 263 |
} |
| 264 |
|