Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 440bd4c7 authored by bkerbl's avatar bkerbl
Browse files

headless gone

parent c6d3b76b
No related branches found
No related tags found
1 merge request!40core/utils: fix installDirectory method in linux
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "core/graphics/RenderTarget.hpp" #include "core/graphics/RenderTarget.hpp"
#define HEADLESS //#define HEADLESS
namespace sibr namespace sibr
{ {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "core/graphics/Texture.hpp" #include "core/graphics/Texture.hpp"
#define HEADLESS //#define HEADLESS
namespace sibr namespace sibr
{ {
......
...@@ -1334,7 +1334,7 @@ namespace sibr ...@@ -1334,7 +1334,7 @@ namespace sibr
template<typename T_Type, unsigned int T_NumComp> template<typename T_Type, unsigned int T_NumComp>
Vector4f Texture2DArray<T_Type, T_NumComp>::readBackPixel(int i, int x, int y, uint lod) const { Vector4f Texture2DArray<T_Type, T_NumComp>::readBackPixel(int i, int x, int y, uint lod) const {
Vector4f out; Vector4f out;
#define HEADLESS //#define HEADLESS
#ifdef HEADLESS #ifdef HEADLESS
SIBR_ERR << "HEADLESS -- No support for readBackPixel" << std::endl; SIBR_ERR << "HEADLESS -- No support for readBackPixel" << std::endl;
#else #else
......
...@@ -428,7 +428,7 @@ namespace sibr ...@@ -428,7 +428,7 @@ namespace sibr
bool showFilePicker(std::string & selectedElement, bool showFilePicker(std::string & selectedElement,
const FilePickerMode mode, const std::string & directoryPath, const std::string & extensionsAllowed) { const FilePickerMode mode, const std::string & directoryPath, const std::string & extensionsAllowed) {
#ifdef USE_NFD #if defined(USE_NFD) || defined(SIBR_OS_WINDOWS)
nfdchar_t *outPath = NULL; nfdchar_t *outPath = NULL;
nfdresult_t result = NFD_CANCEL; nfdresult_t result = NFD_CANCEL;
......
...@@ -83,7 +83,7 @@ namespace sibr { ...@@ -83,7 +83,7 @@ namespace sibr {
\param frame the frame to encode \param frame the frame to encode
\return a success flag. \return a success flag.
*/ */
#define HEADLESS //#define HEADLESS
#ifndef HEADLESS #ifndef HEADLESS
bool encode(AVFrame *frame); bool encode(AVFrame *frame);
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment