update debug libs

This commit is contained in:
Nick Fisher
2023-09-29 23:58:27 +10:00
parent cfa8e8edb4
commit 1114188024
3 changed files with 14 additions and 14 deletions

View File

@@ -375,20 +375,20 @@ void PlatformANGLE::commit(Platform::SwapChain* swapChain) noexcept {
}
// glClearColor(0.1f, 0.2f, 0.3f, 1.0f);
// glClear(GL_COLOR_BUFFER_BIT);
glFinish();
// glFinish();
uint8_t* data = new uint8_t[1024*768*4];
memset(data, 0, 1024 * 768 * 4);
// uint8_t* data = new uint8_t[1024*768*4];
// memset(data, 0, 1024 * 768 * 4);
glReadPixels( 0, 0, 100, 100, GL_RGBA,GL_UNSIGNED_BYTE, data);
std::this_thread::sleep_for(200ms);
// glReadPixels( 0, 0, 100, 100, GL_RGBA,GL_UNSIGNED_BYTE, data);
// std::this_thread::sleep_for(200ms);
char c[10];
// char c[10];
for(int i =0; i < 10*10; i++) {
std::cout << itoa(data[i], c, 10) << " ";
}
std::cout << std::endl;
// for(int i =0; i < 10*10; i++) {
// std::cout << itoa(data[i], c, 10) << " ";
// }
// std::cout << std::endl;
}

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:005f4c83833ed84321e495d2d95c9a231e5cf58704fb033423a8bf129d6f5fad
size 155617462
oid sha256:d4235e79cade6c4c862d1cf767c97d9983bd98d170128a44ff7794aa27959a68
size 153021042

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d5adda8c6ef4b06d75259d302fdae2e830eba6777dabc5040b14d67e79d94c1
size 3615022
oid sha256:a851deeff8646644d1d8d0b677f464825783a98cfd5a939288bbd9410a4b3291
size 3638008