Files
qt5.12.8/config.tests/egl-viv/main.cpp
2025-08-26 22:57:23 +08:00

18 lines
409 B
C++

/* Generated by configure */
#include <EGL/egl.h>
#include <EGL/eglvivante.h>
int main(int argc, char **argv)
{
(void)argc; (void)argv;
/* BEGIN TEST: */
#ifdef __INTEGRITY
fbGetDisplay();
#else
// Do not rely on fbGetDisplay(), since the signature has changed over time.
// Stick to fbGetDisplayByIndex().
fbGetDisplayByIndex(0);
#endif
/* END TEST */
return 0;
}