C++ (Qt)// The fullscreen quad's FBOGLuint quad_VertexArrayID;glGenVertexArrays(1, &quad_VertexArrayID);glBindVertexArray(quad_VertexArrayID); static const GLfloat g_quad_vertex_buffer_data[] = { -1.0f, -1.0f, 0.0f, 1.0f, -1.0f, 0.0f, -1.0f, 1.0f, 0.0f, -1.0f, 1.0f, 0.0f, 1.0f, -1.0f, 0.0f, 1.0f, 1.0f, 0.0f,}; GLuint quad_vertexbuffer;glGenBuffers(1, &quad_vertexbuffer);glBindBuffer(GL_ARRAY_BUFFER, quad_vertexbuffer);glBufferData(GL_ARRAY_BUFFER, sizeof(g_quad_vertex_buffer_data), g_quad_vertex_buffer_data, GL_STATIC_DRAW);
data[pos] = dt;
C++ (Qt)// The fullscreen quad's FBOGLuint quad_VertexArrayID;glGenVertexArrays(1, &quad_VertexArrayID);glBindVertexArray(quad_VertexArrayID); typedef std::vector<float> test_container ;//typedef std::array<float,18> test_container ; static const test_container g_quad_vertex_buffer_data = { -1.0f, -1.0f, 0.0f, 1.0f, -1.0f, 0.0f, -1.0f, 1.0f, 0.0f, -1.0f, 1.0f, 0.0f, 1.0f, -1.0f, 0.0f, 1.0f, 1.0f, 0.0f,}; GLuint quad_vertexbuffer;glGenBuffers(1, &quad_vertexbuffer);glBindBuffer(GL_ARRAY_BUFFER, quad_vertexbuffer);glBufferData(GL_ARRAY_BUFFER, g_quad_vertex_buffer_data.size(), g_quad_vertex_buffer_data.data(), GL_STATIC_DRAW);
C++ (Qt) // QHash.cpp if (numBuckets) { QT_TRY { d->buckets = new Node *[numBuckets]; } QT_CATCH(...) {