File: CocoaToolkit.mm

package info (click to toggle)
vimix 0.8.5c%2Bgit20251123%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 88,340 kB
  • sloc: cpp: 94,323; ansic: 34,427; makefile: 373; objc: 97; xml: 83; sh: 45
file content (28 lines) | stat: -rw-r--r-- 1,031 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * GStreamer
 * Copyright (C) 2010 Julien Isorce <julien.isorce@gmail.com>
 * Copyright (C) 2010 Nuno Santos <nunosantos@imaginando.net>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */
#include "CocoaToolkit.h"

#import <Cocoa/Cocoa.h>

void * CocoaToolkit::get_current_nsopengl_context()
{
    return CGLGetCurrentContext();
}