This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <enet.h> | |
| #include <stdio.h> | |
| int main() { | |
| if (enet_initialize () != 0) { | |
| printf("An error occurred while initializing ENet.\n"); | |
| return 1; | |
| } | |
| ENetAddress address = {0}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| STREX_INST : { | |
| if (inst_base->cond == ConditionCode::AL || CondPassed(cpu, inst_base->cond)) { | |
| generic_arm_inst* inst_cream = (generic_arm_inst*)inst_base->component; | |
| unsigned int write_addr = cpu->Reg[inst_cream->Rn]; | |
| if (cpu->IsExclusiveMemoryAccess(write_addr)) { | |
| cpu->UnsetExclusiveMemoryAddress(); | |
| cpu->WriteMemory32(write_addr, RM); | |
| RD = 0; | |
| } else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import itertools | |
| import re | |
| def UniqueList(data): | |
| return list(set(data)) | |
| class Graph: | |
| def __init__(self, vertices, edges): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import itertools | |
| import re | |
| def UniqueList(data): | |
| return list(set(data)) | |
| class Graph: | |
| def __init__(self, vertices, edges): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkgname=switch-piglit | |
| pkgver=r1223.1ded029 | |
| pkgrel=1 | |
| pkgdesc='Piglit' | |
| arch=('any') | |
| url='https://github.com/mesa3d/piglit' | |
| license=('GPL') | |
| options=(!strip libtool staticlibs) | |
| makedepends=('git' 'switch-pkg-config' 'devkitpro-pkgbuild-helpers' 'switch-waffle') | |
| source=(${pkgname}::"git+https://github.com/subv/piglit#commit=3c20fb3e60b656b4b39da36e19c33a610e895173") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkgname=switch-waffle | |
| pkgver=r1224.0608693 | |
| pkgrel=1 | |
| pkgdesc='Waffle' | |
| arch=('any') | |
| url='http://www.waffle-gl.org/' | |
| license=('BSD') | |
| options=(!strip libtool staticlibs) | |
| makedepends=('git' 'switch-pkg-config' 'devkitpro-pkgbuild-helpers') | |
| source=(${pkgname}::"git+https://github.com/subv/waffle#commit=060869315480cb4e159e4a2283de0fecc4667095") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import matplotlib.animation as animation | |
| fig, ax = plt.subplots() | |
| x = np.arange(0, 2*np.pi, 0.01) | |
| line, = ax.plot(x, np.sin(x)) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Distributed under the OSI-approved BSD 3-Clause License. See accompanying | |
| # file Copyright.txt or https://cmake.org/licensing for details. | |
| #.rst: | |
| # FindOpenGL | |
| # ---------- | |
| # | |
| # FindModule for OpenGL and GLU. | |
| # | |
| # Optional COMPONENTS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/egl/drivers/switch/egl_switch.c b/src/egl/drivers/switch/egl_switch.c | |
| index f3c6e95cda..1b6df17516 100644 | |
| --- a/src/egl/drivers/switch/egl_switch.c | |
| +++ b/src/egl/drivers/switch/egl_switch.c | |
| @@ -432,6 +432,8 @@ switch_initialize(_EGLDriver *drv, _EGLDisplay *dpy) | |
| dpy->DriverData = display; | |
| dpy->Version = 14; | |
| + dpy->Extensions.KHR_create_context = EGL_TRUE; | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| msys apr 1.6.3-1 | |
| msys apr-devel 1.6.3-1 | |
| msys apr-util 1.6.1-1 | |
| msys apr-util-devel 1.6.1-1 | |
| msys asciidoc 8.6.10-1 [installed] | |
| msys aspell 0.60.6.1-1 | |
| msys aspell-devel 0.60.6.1-1 | |
| msys aspell6-en 2018.04.16-1 | |
| msys atool 0.39.0-1 | |
| msys autoconf 2.69-5 [installed] |
NewerOlder