Skip to content

Instantly share code, notes, and snippets.

View vchuravy's full-sized avatar
✈️
Travelling

Valentin Churavy vchuravy

✈️
Travelling
View GitHub Profile
@vchuravy
vchuravy / CMakeLists.txt
Last active March 9, 2018 18:43 — forked from SimonDanisch/gltest.c
OpenCL OpenGL interop test
cmake_minimum_required (VERSION 2.6)
project (ogltest)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR})
find_package(PkgConfig REQUIRED)
pkg_search_module(GLFW REQUIRED glfw3)
find_package(OpenGL REQUIRED)
if(NOT OPENGL_FOUND)
@vchuravy
vchuravy / hl2_optirun_start.sh
Created September 8, 2012 14:59 — forked from zipizap/hl2_optirun_start.sh
Half Life 2, wine and optirun :)
#!/bin/bash
function msg {
# Description:
# This function echoes-with-colors the arguments passed in
# Usage:
# msg 'whatever you want to print :)'
echo -e '\033[33m\033[44m'$@'\033[0m'
}