|
|
@ -21,7 +21,7 @@ float elap_time() {
|
|
|
|
return static_cast<float>(elapsed_time.count());
|
|
|
|
return static_cast<float>(elapsed_time.count());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const int WINDOW_X = 1080;
|
|
|
|
const int WINDOW_X = 1920;
|
|
|
|
const int WINDOW_Y = 1080;
|
|
|
|
const int WINDOW_Y = 1080;
|
|
|
|
|
|
|
|
|
|
|
|
void generate_nodes(sf::Uint8* nodes) {
|
|
|
|
void generate_nodes(sf::Uint8* nodes) {
|
|
|
@ -46,7 +46,6 @@ int main() {
|
|
|
|
|
|
|
|
|
|
|
|
OpenCL cl;
|
|
|
|
OpenCL cl;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!cl.init())
|
|
|
|
if (!cl.init())
|
|
|
|
return -1;
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
|
|
|
|