mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-13 17:09:05 -05:00
Merge resolve from updating submodules
This commit is contained in:
@@ -103,9 +103,10 @@ namespace openspace {
|
||||
|
||||
bool Browser::initializeGL() {
|
||||
_texture = std::make_unique<ghoul::opengl::Texture>(
|
||||
glm::uvec3(_browserPixeldimensions.value(), 1.0f)
|
||||
glm::uvec3(glm::ivec2(_browserPixeldimensions.value()), 1),
|
||||
GL_TEXTURE_2D
|
||||
);
|
||||
|
||||
|
||||
_renderHandler->setTexture(*_texture);
|
||||
|
||||
_browserInstance->initialize();
|
||||
|
||||
@@ -32,11 +32,10 @@ namespace openspace {
|
||||
// Parsing and downloading of wtml files
|
||||
bool downloadFile(const std::string& url, const std::string& fileDestination) {
|
||||
// Get the web page and save to file
|
||||
HttpRequest::RequestOptions opt{ 5 };
|
||||
SyncHttpFileDownload wtml_root(
|
||||
HttpFileDownload wtml_root(
|
||||
url, fileDestination, HttpFileDownload::Overwrite::Yes
|
||||
);
|
||||
wtml_root.download(opt);
|
||||
wtml_root.start(std::chrono::milliseconds(5));
|
||||
return wtml_root.hasSucceeded();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user