Skip to content

Instantly share code, notes, and snippets.

@jbfove
jbfove / EGLTest.cpp
Created January 27, 2021 10:00
Simple test app to print all the EGL strings
// Use the following on Linux to see the EGL info (make sure to install EGL libs)
// c++ EGLTest.cpp -lEGL && ./a.out
#include <EGL/egl.h>
#include <iostream>
using namespace std;
const char* nullSafe(const char* str)
{
using Fove.Managed;
using System;
using UnityEngine;
namespace Fove.Unity
{
public static class FoveResearch
{
private static Texture2D m_sEyesTexture;